ES version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
62% Positive
Analyzed from 2916 words in the discussion.
Trending Topics
#code#don#quality#more#software#claude#anything#same#loc#bloat

Discussion (54 Comments)Read Original on HackerNews
If you asked me to build a house, I could probably assemble something that would stand for a few months. Hopefully. It might even keep the rain out. But it might also fall on my head, because I do not know enough about building houses to be confident that it won’t.
And even if it didn’t fall on my head under normal conditions, I also would not know when I needed to design for earthquakes. Or floods. Or fire. Or wind. Or grandmother-cosplaying wolves with very strong lungs.
But if all I need is shelter for a day, would I necessarily care whether it lasts more than a week?
That is effectively what a website like this is. It is not really a product. People don’t depend on it. Tan’s visitors are probably using MacBooks and iPhones on fast networks, and most of them will never notice how bad it is under the surface.
That does not mean it is good. It means it is good enough for the context.
Most people also tolerated the hilarious gigabyte JSON parsing bug in Grand Theft Auto for years, until a hacker patched it and cut GTA Online loading times by around 70%: https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times...
It was good enough, even if people noticed how bad it was.
Business applications, and typical software really doesn’t have to be super tuned or perform fast. It just needs to work.
At least until your product category has been commoditized, and _then_ you’re competing on experience.
> The phenomenon of a person trusting newspapers for topics which that person is not knowledgeable about, despite recognizing the newspaper as being extremely inaccurate on certain topics which that person is knowledgeable about.
They've improved from someone who failed every single university course a couple years ago. Maybe they'll get to a C or even a B in the future; maybe not.
I don't know how you can say that with a straight face when AI's capable of matching the best human students on the hardest exams we have, like the IMO, the Putnam and the bar exam. I can only assume you've only ever used the free tier of any AI service.
The Web already had a problem with externalizing costs onto users. Both the simple cost of poorly executing websites (power, mobile data, time), and more subtle ones (social media). AI is a huge accelerant for that.
An interesting choice of a metaphor here. If I needed a shelter for a day, I would have bought (or rented) a nice tent. Or booked a room in a proper hotel
Or a downstream service is overwhelmed and suddenly all the retired you added to different places DDOS your own service. (Also have seen this lots of times)
Some quality problems you can fix later. With others, once they happen, there's no "later"
This could be fine if all you're looking is to get the quick and dirty result at any cost, or private use, etc. When anything is better than nothing.
The problem starts when this extremely low bar becomes the baseline for anything. When you're willing to attach your name to a stream of absolute slop and you're even proud of it.
AI has a tendency to generate more code than necessary. It keeps re-inventing things, and every time you ask it to add a new feature or fix something, it just keeps on piling the code. I now periodically ask AI to refactor the code by simplifying, removing unused things, factoring out, and reusing.
My wife does exactly that. For the exercise. She makes large detours to go anywhere. The end result is a healthier body.
How this translates to software, I don't know. I don't think AI benefits from this exercise.
1. I hope they never get hold of the code of MS Office or almost any other piece of real-world business software.
2. So anyone with claude access could arrive at the same conclusions ... and ask claude to fix it?
I guess the article in reality is just these two perspectives pitted against each other for some cheap views.
https://x.com/Gregorein/status/2038953944475472316
Note that Rails was built as a framework for making blogs, I'm having trouble understanding what 78,000 lines of ruby in the context of a Rails blog could ... do.
I'm sure there's some powerful ugly stuff in Office but in a good code that's calcified kind of way. It got that way over like 30 years of releasing to the public across platforms, not over a weekend.
I'd be surprised if microsoft.com is shipping their entire test suite unminified and their back-end posting rich text editor with index.html (with two title tags in the head) and rendering the entire DOM for desktop and mobile regardless of your platform.
I'm not critiquing Garry or the site. I think it's great people are using AI to build things that bring them joy, or that they find useful. I certainly do.
I am entirely opposed to the idea that we've decided to go back to measuring work in terms of lines of code and PRs. It has always been the worst metric on earth as a proxy for productivity. Every line is a liability, and it always was. AI has not changed that, if anything it's amplified it.
The best PRs remove more than they add, and the only companies that seem to have exponentially grown their revenues in line with AI-generated LOC are OpenAI and Anthropic.
This doesn't seem right. Yes, the "build a blog in 15 minutes" demo was pretty memorable, but I don't think it's ever really been pitched as a sweet spot for Rails. IIRC Rails was essentially extracted out of the 37Signals codebases for Basecamp et al.
[1] https://www.youtube.com/watch?v=Gzj723LkRJY
You need experience to check Claude‘s findings
It's symmetrical: just like anyone with a claude subscription could arrive at the same vibe slop!
Except he's not building Office, a software with decades of legacy, used by hundreds of millions of users. He's coding a website, effectively writing bloat with a silver lining of useful features. AI automated and inflated the worst of practices too. Anyone outputting 37K LoC daily is creating bloat and inefficiencies at unprecedented rate.
And enterprise software was already the butt of all jokes in this regard. We found ways to make that worse at scale even for the basic things. It's not a good look when you need to use this "whatabout".
Begs the question of why the original "author" of the code hasn't just asked Claude to fix it? Or asked Claude to generate good code from the beginning. I suppose the answer is that nobody cares about good or efficient code anymore. But that's been the case since long before LLM coding though (as stated in your point 1).
Why write clever code when we can just write JS slop and ask customers "upgrade" their hardware every year...
Bloat is not "since generative AI coding" new. We always had it. As the author says:
> “It does sound like Facebook’s ‘move fast and break things,’ which didn’t age well either.”
Which indeed did not age well, but it did help the company to grow to a certain point at which it is now a staple in our lives (and can do super expensive BS experiments like "Metaverse" and still show profits).
This may be what Tan does as well: first profitable, then correct.
This is an approach, which may work for some, it may also allow some companies to become irrelevant (like: once the bloat-app is profitable, a clone-app emerges that is bloat-free and overtakes the bloat-app in every dimension, while the bloat-app is figuring out how to scale up with a shitty db schema).
Cursor did something similar months ago, bragging about producing millions of LOC while what they actually made barely worked and could have been built with an order of magnitude less LOC: https://emsh.cat/en/one-human-one-agent-one-browser/ (https://news.ycombinator.com/item?id=46779522 | 324 points | 5 months ago | 156 comments)
What I don't understand, isn't there a single engineer working with these people who ask them what the fuck they're doing, before they hit that publish button? Or is there just such a constant pressure to publish anything that quality just simply doesn't matter at all to these people?
Ahh … remember the good ol’ days, when we were forced to cap our Web pages at 32K?
I have found similar issues with LLM-generated code. Lots of code … lots of issues.
Just yesterday, I went through a whole bunch of LLM-generated code, and switched the threading model. It sped up my code significantly, and the jetsam crashes stopped immediately. Until I used LLM code, my apps had never jetsam-crashed before.
First time for everything, I guess.
However, I’ve seen no evidence to suggest that you can do both.
They didn't provide any evidence for this point. They showed that the code is bad quality, but not that it matters that it's bad.
I really don't see a problem if it breathes life into the internet for non-technical people to be creative and interesting again. Wordpress etc gave people a cheap voice, but at the cost of immovable guard-rails.
And even at a small business level, most stuff people build get's torn down by the next person or next agency 6, 12, 18 months later anyway so why care about engineering rigour (this point does not extend to security concerns) in the front end when you can spin up and tear down something in a day or two for incredibly cheap.
I'm honestly tired at the pearl-clutching when we ourselves have helped shape an industry that constantly raises the bar to entry with unnecessary techincal complexity and bloat. Ever built a brochureware site in react or similar? you've done exactly what the this guy did, you just did it with pure intent rather than an AI doing it
This conclusion is unsupported from the observations. The code makes lots of requests, has too much CSS, and 6 different logo formats. So what? Lots of real, production codebases have just as many warts.
Folks need to stop dealing in absolutes with AI coding. Code quality always mattered, and still does, in certain circumstances. In others, it's less important and speed of iteration has more value. That's still true even with AI code.
I remember that for, uh, Key Quarterly Objectives, was that the name? Aeons ago.
Same shit new decade.
(I love working with AI though. It has many of the benefits of good pair programming.)
This is worse.
Not the first time that I read quantity over quality related to YC
No he wont fund your startup.
Letting this guy run the show is a public declaration of the moral bankruptcy of the tech sphere.
BUT - it's still a pile of steaming garbage.
It's not just a 'bit odd' - it's just massive slop.
The total lack of self awareness is comical and disturbing.
GStack + Gary's Tweets about 30K LOC a day is 'Trumpian' in self delusion - it looks like basically he and YC are frauds that don't know what technology is.
This is like Elon and his 'salute' or his 'I'm a top 10 Diablo player - hey watch me play and expose myself unwittingly' type situations.
A bit of AI hype is fine.
Someone needs to take Gary and have a side-discussion.
He can do GStack - he just needs to characterize it properl for what it is.
Talking about that amount of code with the assumption 'it's sensible' code, is basically a lie - it's fraudulent' levels of hype.
Just describe it as an unwieldy but productive experiment, not for mainline consumption etc. then it's fine.
The website ships 28 actual test files (code developers use to reality-check their work) straight to every visitor’s browser. That’s 300 kilobytes of pure developer scaffolding that users never asked for.
It loads 78 different JavaScript controllers for features like AI image generation, voice extraction, video tools, etc., none of which appear on the homepage. The browser still has to download all of them “just in case.”
The site’s logo is an illustration of a bear. The site downloads the logo in eight different formats, including a completely empty 0-byte file that somehow made it to production, Gregorein found.
The website uses huge, uncompressed old-school PNGs (some nearly 2 megabytes each), even though the browser literally asks for modern tiny formats. Two images alone waste about 4 MB; with newer formats they could have been just 300KB.
Gregorein also found duplicate page content, an empty CSS (Cascading Style Sheets) file, a huge rich-text editor loaded on a read-only page, missing image descriptions, and analytics code that deliberately routes through a proxy to dodge people’s ad blockers (with a comment in the code admitting it), Gregorein reports,"
Brave new world indeed... It might be elliptically relevant that in the original novel by Aldous Huxley, the protagonist John the Savage hangs himself at the end when his search for truth fails.
If anything, they're ashamed of it - and they only do it because managers and shady SEO types push for that shit.
Nor are such bloated pages regarded (or were regarded pre-AI) as anything else than as a symptom of the sickness of modern web practices.
This is more a testement to the quality of agentic work.
It seems like the pessimists are rewriting the history of software development to be much more rosy than it ever was.