7 ms·
Has anyone had success telling a LLM to essentially code golf, with the compromise that names should still be descriptive (so no hard minification). The idea i
by GuB-42 23d ago
Has anyone had success telling a LLM to essentially code golf, with the compromise that names should still be descriptive (so no hard minification).
The idea is to first make the code less verbose, LLMs tend to do that. But the other idea is to save tokens. I.e. make it easy for the LLM, not for a human reader.
And when it is time for a human to actually read the code, if it is too much, as a second pass, transform the code to make it more readable while keeping the structure.