logoalt Hacker News

hattmalltoday at 12:36 PM1 replyview on HN

>Sad to say, but this is no different from human written code. Human written code just takes even longer to realize the mistakes because the pace is slower.

I really don't think so, poor written human code IME is rarely overly complex, where as the AI code is almost always vastly over complex. Naturally complexity can be an issue because it leads to more surface area for failures and challenges to diagnose, but where I am REALLY seeing an issue is the complexity hiding an issue. Something that should normally fail or produce an error is covered up by something multiple layers deep in the code that returns an incorrect value instead of an error when something goes off the rails.


Replies

CharlieDigitaltoday at 12:44 PM

AI written code is a function of the human created constraints around it.

That is why I believe the most senior engineers on the team with the most scars and most experience need to shift into writing those constraints instead of writing code.

In writing those constraints, they can multiply their effect across a tireless fleet of agents that generally want to copy existing patterns and can be guided to use skills.