Hacker News new | ask | show | jobs
by hansvm 40 days ago
On the other hand, I often want an LLM to write things from scratch instead of bringing in 10x the surface area in unnecessary dependencies, and I very, very rarely get better results when these things are let loose on a cesspool of a web. Given that real people have vastly different preferences, you either have to cater to a subset or else require everyone to be a bit more specific with their desires. It's not that surprising.
1 comments

Yeah, and you can tell the AI to just write the bits of the code that it actually needs for the functionality you are using. If you end up needing more of it, that is fine, the AI will just write more of it when it needs it.

The tradeoffs are very different with AI code than human written code. There are still tradeoffs, but they are different now.

> If you end up needing more of it, that is fine, the AI will just write more of it when it needs it.

This kind of incremental addition without planning in advance leads to inconsistent code with lots of redundancies.

You can just tell the AI to clean it up, and remove redundancies.