hn • r/hackernews
Comment on: Prime Agent: A self-improving RLM agent
> In this repository, multiple files are close to 10K LOC, one file contains a switch statement that has so many case statements it spans more than 1000 lines, and lots of other fun stuff.Pft. Over multiple cases?I've seen 1000 lines inside a single if-block. The clause was always true. I was not able to break that thing up in my time at that company.Human wrote that nonsense.Thing is, the app was pretty successful despite all the stuff wrong with the code. And this success is why I've been bullish on GenAI code itself, even though I'm also bearish on AI companies being able to profit from tha