Hacker News new | ask | show | jobs
by stanmancan 73 days ago
I have had a very different experience so far. The more code AI writes for me the worse it gets. It gets more complicated and it’s harder to follow and understand. It doesn’t refactor, it layers on top.

Even worse is that it’s hard to do anything about it at this point because reviewing code is very different from writing it, so even if I’ve seen it all I don’t have that same deep level of understanding that I do when I write it myself.

All these AI code bases are ticking time bombs. Either AI gets smart enough that it won’t matter in the future or we’re going to have a huge mess to clean up.

1 comments

> The more code AI writes for me the worse it gets.

That makes no sense unless you're claiming that the models are getting worse at writing code.

> Either AI gets smart enough that it won’t matter in the future or we’re going to have a huge mess to clean up.

My prediction is that both will happen.

> That makes no sense unless you're claiming that the models are getting worse at writing code.

A hypothetical scenario is it needs to add two numbers so it writes add(x,y).

Later on it needs to add three numbers so it writes add(x, y, z)

Then it needs to add four…

Layers upon layers. A human would likely notice the pattern and refactor so add accepts a list.

My experience is that the LLM offers that approach from the get-go.

Also, I've worked with lots of humans who sadly would not notice the pattern.