8 ms·
It almost appears as if the code was minified. The variable names are short and formatting looks like it's written to minimize whitespace. Did it write it in th
by jclay 4mo ago
It almost appears as if the code was minified. The variable names are short and formatting looks like it's written to minimize whitespace. Did it write it in this compact format all on it's own?
- andai 4mo agoA friend sent me something he vibe coded which included a massive webassembly blob in the HTML file. My friend is not a programmer so he was not able to explain to me how it did that.
- unconscionable 4mo agoClaude Design export.
- senko 4mo agoYeah looks extremely compact. I didn't instruct it or told it to use as few lines of code or characters or nothing of the sort. Not sure why it did that. Its own rationale (which is highly suspect, but the only lead I have) is that it defaults to dense style if it has to write a file in a single go. May be a kernel of truth somewhere in there.
- bombcar 4mo agoAnd much code on the web “in production” is minimized.
- AdamN 4mo agominified is fewer tokens than the human-readable version that we would write. It only really makes sense to write in minified js - it's also where alot of code in the wild is since every production site minifies their js which is then consumed by training.
- syspec 4mo agoI just had Opis 4.8 code up something and actually that's exactly how it coded it! It looked gross and minimized, the result was awesome but the code looked pretty awful visually
- rphv 4mo ago"Readability by humans" may no longer be as important as it once was.
- lionkor 4mo agoMaybe it would benefit Anthropic if AI generated code worked, but wasn't readable by humans. That's a nice moat.
- seanw444 4mo agoProprietary stochastic compilers. Hooray.
- orphea 4mo agoOnly if LLMs will start to output object code, skipping text representation.
- selcuka 4mo agoGood variable names are still useful for LLMs to understand context when refactoring.
- rafram 4mo agoLLMs are already bad at reusing existing logic/resources/components, even when they have obvious names. Unreadable code only makes it worse.
- dilap 4mo agoDoesn't look minified, just very dense, almost like progcomp code. First time I've seen an LLM spit out that style of code, I'm impressed!