7 ms·
Something I've noticed is that AI code generation makes it easier/faster to generate code while shifting more work of the work of keeping code correct and maint
by nicoburns 9mo ago
Something I've noticed is that AI code generation makes it easier/faster to generate code while shifting more work of the work of keeping code correct and maintainable to the code review stage. That can be highly problematic for open source projects that are typically already bottlenecked by maintainer review bandwidth.
It can be mitigated by PR submitters doing a review and edit pass prior to submitting a PR. But a lot of submitters don't currently do this, and in my experience the average quality of PRs generated by AI is definitely significantly lower than those not generated by AI.
- echelon 9mo agoThe maintainers can now do all the work themselves. With the time they save using AI, they can get much more work done. So much that having other engineers learn the codebase is probably not worth it anymore. Large scale software systems can be maintained by one or two folks now. Edit: I'm not going to get rate limited replying to everyone, so I'll just link another comment: https://news.ycombinator.com/item?id=46765785 https://news.ycombinator.com/item?id=46765785
- shafyy 9mo agoNot sure if you're being sarcastic or not?
- wooderson_iv 9mo agoDo you have anecdotes or evidence of this or is it speculative?
- j16sdiz 9mo agoThose are the most mentally exhausting task. Are you sure putting this burden on single person is good?
- tracker1 9mo agoNo, because proper QA/QC will be the bottleneck.... AI is ill-suited to test for fit/use. I built an ANSi terminal with AI assist (rust/wasm/canvas)... it literally took longer to get the scrollback feature working with keyboard and mousewheel interactions than it took to get the basic rendering correct. And there are still a few bugs in it. In the end, you should not just skip QA/QC and fitness testing. Many things can fit a technical spec and still be absolutely horrible. With AI assisted developmnet, imo it's that much more important to get the UX right. I don't want 10x the apps if they're all half-implemented garbage that look like garbage are hard to use and just painful to install, maintain and use. Library creation still has a place here... and so far, getting AI code assistants to actually understand and use a given library that may be less popular has been at the very least, interresting.
- matkoniecz 9mo ago> So much that having other engineers learn the codebase is probably not worth it anymore. > Large scale software systems can be maintained by one or two folks now. No, LLMs are not so powerful yet.
- erelong 9mo agoYeah, it should change things but also free up other energies to work on things
- trey-jones 9mo agoTo me, an old guy, I would rather have LLM doing (assisting with) the code review than the actual code production. Is that stupid?
- groundzeros2015 9mo agoThis makes sense to me. I need to make decisions about how things are implemented. Even if it can pick “a way” that’s not necessarily going to be a coherent design that I want. In contrast for review I already made the choices and now it’s just providing feedback. More information I can choose to follow or ignore.
- electroly 9mo agoLLMs are great at reviewing. This is not stupid at all if it's what you want; you can still derive benefit from LLMs this way. I like to have them review at the design level where I write a spec document, and the LLM reviews and advises. I don't like having the LLM actually write the document, even though they are capable of it. I do like them writing the code, but I totally get it; it's no different than me and the spec documents.
- trey-jones 9mo agoRight, I'd say this is the best value I've gotten out of it so far: I'm planning to build this thing in this way, does that seem like a good idea to you? Sometimes I get good feedback that something else would be better.
- torginus 9mo agoIf LLMs are great at reviewing, why do they produce the quality of code they produce?
- gjadi 9mo agoImho it's because you worked before asking the LLM for input, thus you already have information and an opinion about what the code should look like. You can recognize good suggestions and quickly discard bad ones. It's like reading, for better learning and understanding, it is advised that you think and question the text before reading it, and then again after just skimming it. Whereas if you ask first for the answer, you are less prepared for the topic, is harder to form a different opinion. It's my perception.
- pgroves 9mo agoI was expecting this to be the point of the article when I saw the title. Popular projects appear to be drowning in PRs that are almost certainly AI generated. OpencodeCli has 1200 open at the moment[1]. Aider, which is sort of abandoned has 200 [2]. AFAIK, both projects are mostly one maintainer. [1] https://github.com/anomalyco/opencode/pulls https://github.com/anomalyco/opencode/pulls [2] https://github.com/Aider-AI/aider/pulls https://github.com/Aider-AI/aider/pulls
- matkoniecz 9mo agoEven not-so popular niche projects are getting LLM spam. Curiously, at least where Ia m active most comes from account with India-related usernames. Some are opening PRs, some are posting comments in issues that repeat what was said already, just in more words.