‹ BackHN Continuity

Thread

If AI coding is lowering your code quality, you're not managing quality right

129 points · 169 comments · bucket2015

  1. compiler-guy · · focus · HN ↗
    A sibling comment talks about needing a lot of setup and context for agents to produce good code. That’s both true and bizarre.

    If the compiler that I write produces lousy code, I get bugs that I fix until it doesn’t.

    And that is the most annoying thing about this revolution. It’s obviously powerful and transformative and I use in my job all the time.

    But many, perhaps even most, purveyors seem intent on blaming their users when they have issues, rather than fixing their own bugs.

    General model improvement is going a long way here, but basic things like “ensure you use good style and programming practices” really shouldn’t be a thing users need to put in any .md file.

    1. Jare · · focus · HN ↗
      A programming language spec is expected to be unambiguous. A compiler is expected to be deterministic. There are multiple ways to different outputs when compiling (optimizations, etc) but those are also meant to be well defined and deterministic themselves.

      AIs are stochastic/probabilistic machines. Their big potential is in how they take malformed, incomplete, ambiguous inputs and come up with valuable and usable solutions.

      1. compiler-guy · · focus · HN ↗
        If everyone needs to give them roughly the same set of instructions to get good results, then those instructions should be built in.

        Good defaults are expected in pretty much every other tool.

        And “You just have to set it up carefully and properly” is pretty much saying that the defaults are never good enough.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.