←back to thread

Code Is Debt

(tornikeo.com)
118 points tornikeo | 1 comments | | HN request time: 0s | source
Show context
furyofantares ◴[] No.45086672[source]
The worst case with AI-generated code is worse than this. Instead of a company, I'll talk about smaller personal projects.

You can make a very real decision right now - spend a lot of time making 10,000 lines of good code that you know well, or spend VERY LITTLE time (maybe 1-2% as long) making 20,000 lines of bad code that does the same thing and that you don't know well at all.

Personally I'm continuing to find the middle ground, because if you want to continue to build past that, I think you've actually lost that time in the first case.

replies(3): >>45087210 #>>45087479 #>>45087548 #
1. soks86 ◴[] No.45087210[source]
This, there is always middle ground.

Personally, I have only used AI to write actual code when it is for Bash and Python scripts that are self contained. In my case self contained means they are interfaced to via command line so their boundaries are very well defined.

I have never returned to look at any of the code.

I would never use it to generate domain code for my codebase because then I'd have to code review it anyways. I mean, if I have an agentic AI solving an issue and generating a PR, great, I can review that and give it feedback on how to change the code before its accepted.

Unless I can either throw the code away or review it for maintainability rather than correctness then I have no need for a tool that write my code for me.

Oh, unless the AI can be the product owner and understand the financial ramifications of not doing its job correctly but I would be worried that the solution is to not have a product by reducing the users to ash.