Hacker News new | ask | show | jobs
by paxys 87 days ago
It’s time to stop complaining about “shitty code” written by AI. If there are problems in functionality sure, but I personally don’t care about a good directory structure or short, single-purpose functions or short files or whatever else we have been taught about good engineering practices. Why? Because if the code was generated by AI then it will be maintained by AI. I’m not reading it, and I don’t care about it.
2 comments

This sounds great until you've seen an AI generated & maintained repo go wildly off the rails and need to step in afterwards to fix it. Turns out some of those things still matter.
The code generated by AI is often not maintainable by AI. It's mostly trained on one-shot tasks still, not on growing a small system into a large one. AI is not immune to tech debt.