‹ 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. bayindirh · · focus · HN ↗
        > if your employees do not care (they are optimising for salary & time spent not code quality)...

        From what I see is it's mainly managers and higher brass who doesn't care about code quality and sustainability, and aims to drive time to market metrics down aggressively with AI.

        Any employee who cares about code quality will become a poor performer with a red luddite label because they dare to change what the AI has emitted for them.

        I'd love to be wrong, very wrong about this, actually.

        1. abroszka33 · · focus · HN ↗
          > Any employee who cares about code quality will become a poor performer with a red luddite label because they dare to change what the AI has emitted for them.

          I think that's true but it's a special case. AI is here to stay and with AI coding IS faster and quality is better than ever before. Ideally you want your luddite fired along with the slop generators and keep the ones who are using AI and taking their time to deliver a maintainable code.

          1. bayindirh · · focus · HN ↗
            > AI is here to stay

            That's true, but it doesn't have to stay in this form.

            > with AI coding IS faster and quality is better than ever before.

            Citation needed, because the last study I read about was painting a completely different picture about code quality. Also, just because the AI pulling and remixing code from a known repository with high quality doesn't mean your code will be at the same quality automatically. Passing tests is not enough.

            > Ideally you want your luddite fired along with the slop generators.

            The thing is it's not possible to see who generates slop and who generates code, and if you fire the only people who knows about the codebase intimately, you'll be on a very exciting, possibly fatal ride. I don't recommend this. AI doesn't know your history and trade-offs. These guys do, and can guide you to clear.

            AI can't.

            Believing that AI will create bug-free code from start is believing that Rust is the silver bullet.

            There are no silver bullets.

            1. abroszka33 · · focus · HN ↗
              > The thing is it's not possible to see who generates slop and who generates code, and if you fire the only people who knows about the codebase intimately, you'll be on a very exciting, possibly fatal ride. I don't recommend this.

              This is exactly what I said in my top comment. This is a huge problem.

              1. bayindirh · · focus · HN ↗
                ...and then you said:

                > Ideally you want your luddite fired...

                The luddite is the person holding everything together.

                Like the office maid who looks like doing nothing but keeping morale high and everybody's sanity intact.

                1. sanderjd · · focus · HN ↗
                  No, the luddite is the person in one bad location on the continuum, opposite the AI psychotic on the other bad end of the spectrum. The person holding everything together is the one applying wisdom to the use of tools for the things they are good at while avoiding the things they are bad at, rather than blindly following one ideology or its opposite.
                  1. bayindirh · · focus · HN ↗
                    Sorry, but you're distorting my framing of the term in my original comment.

                    I labeled the person who uses AI to generate code and uses their brain and wisdom about the system to refine that code as the luddite since they will work slower when compared to other "higher performers" who don't care about the code quality.

                    In my framing I'm aware that the person is not a luddite per-se, but will look like it since they will be slower while trying to create better code, albeit using AI in the process as well.

                    Citing myself:

                    > Any employee who cares about code quality will become a poor performer with a red luddite label because they dare to change what the AI has emitted for them.

                    1. sanderjd · · focus · HN ↗
                      Yeah I think we agree about this. We agree that this person being labeled a luddite does not actually deserve that label.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.