‹ BackHN Continuity

Thread

AI Has No Wisdom and Neither Will You

388 points · 554 comments · dimonomid

  1. CharlieDigital · · focus · HN ↗

        > Fact is, vibe-coded projects devolve over time into an unmaintainable mess. The reason is simple, yet hard to fix: code maintainability and good architecture don’t have good measurements that we can apply, because it takes months, years even, to notice the effects of bad architecture or of unmaintainable code.
        > 
        > For one, AI is not trained on what it means for code to be maintainable. For instance, any reinforcement learning done needs a reward signal that can be measured immediately, not in months or years.
    
    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 think at the end of the day, it is not impossible to have AI write "good" or "high quality" code. If anything, once the patterns are established, AI will be more likely to adhere to the patterns and rules than any human team. It requires the most experienced engineers on the team to split their time writing the core patterns and documenting them in references/skills.

    But it takes a lot of "taste" and a willingness to slow down a bit with AI (to create necessary artifacts), something teams find hard to do when you can ship so fast now.

    My experience has been that there is a camp of very senior engineers that are unwilling to adapt to reality and focus on documentation and writing (effectively producing skills and agent guidance which multiplies their effectiveness); they will cling to their knowledge thinking coding a sacred art.

    1. hattmall · · focus · 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.

      1. CharlieDigital · · focus · HN ↗
        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.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.