3 ms·
Was the AI playing codegolf? I'm used to AI writing needlessly verbose code and confusing itself with its own comments. This is the polar opposite, but equally
by chmod775 1y ago
Was the AI playing codegolf? I'm used to AI writing needlessly verbose code and confusing itself with its own comments. This is the polar opposite, but equally horrifying.
Is it a strategy to fit more code into its context window?
https://github.com/manicinc/logomaker/blob/master/js/fontManager.js https://github.com/manicinc/logomaker/blob/master/js/fontMan...
It's rather impressive because the result works.
- dockercompost 1y agoOh god that's gnarly. I'm pretty sure you're right about it being a strategy to fit more into the context window. Prior to Windsurf changing their credit system I'd thought about purposefully limiting my file lengths to fit under multiples of 100 to use fewer of the defunct flow credits.
- johnnyfived 1y agoGreat catch, I noticed this with Gemini specifically, while GPT-4o and Claude would just insert placeholders. Gemini would actually enforce generating full scripts by means like this. And higher-level logic looks human-readable, though this might be because I prompted Gemini multiple times to make more usable code.