‹ BackHN Continuity

Thread

AI Has No Wisdom and Neither Will You

388 points · 554 comments · dimonomid

  1. davedx · · focus · HN ↗
    There's a continuum between "vibe coded by someone with no technical knowledge or inclination" and "hand written domain driven design development". You can absolutely use coding agents AND have maintainable code. But yes, the coding agents will not magically make everything maintainable if you don't tell them to.

    "Code maintainability and good architecture don’t have good measurements that we can apply"

    Who has no wisdom? There are dozens of ways to measure code maintainability. Cyclomatic complexity is just one.

    Nothing stops you from wiring up something like SonarQube metrics to your agentic coding workflow.

    1. abroszka33 · · focus · HN ↗
      > You can absolutely use coding agents AND have maintainable code. But yes, the coding agents will not magically make everything maintainable if you don't tell them to.

      The trillion dollar question is how you do this, if your employees do not care (they are optimising for salary & time spent not code quality) and you have no way of telling apart AI slop vs. good maintainable code. (If you could you would just train the AI.)

      Before AI there was at least some way to tell apart good programmers from bad, because there was some human effort involved in coding. Now with AI and slop generation there is almost now way to do this.

      1. orsorna · · focus · HN ↗
        >The trillion dollar question is how you do this, if your employees do not care (they are optimising for salary & time spent not code quality)

        Sounds like there is a compensation problem then.

        1. CodingJeebus · · focus · HN ↗
          Disagree, throwing more money at devs hoping it will improve quality while continuing to take away their authority will only perpetuate the slop machine.

          It's not that hard: treat people with dignity and take their contributions seriously, not as a disposable meat mass. In fact, not only will this improve code quality, it's likely to improve employee retention too.

        2. coffeefirst · · focus · HN ↗
          Sounds like a culture problem. I’ve never had a team I lead not give a shit. Even if the project is dumb (some projects are dumb), there’s enough pride in competence and desire not to dump garbage on the people around you to ensure they at least want to try.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.