• sunbeam60@feddit.uk
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    15 hours ago

    In my experience, AI writes better code (and tests) than most developers and much worse architecture than a senior engineer.

    I suspect the architecture is fine, really, but AI is so comfortable juggling 19 balls that it’s architecture never needs simplification and clarity. But as a human reading it, it’s just a mess and humans need much more coherence and encapsulation.

      • sunbeam60@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        Yeah the documentation is, again, great in the detail and terrible in the overview and store telling.

    • Mose13@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 hours ago

      I feel like AI writes good code but then every once in a while it does the absolute dumbest thing in the world. And you have to be really vigilant so you can’t it doing dumb shit.

      • sunbeam60@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        For sure. I’d never just accept AI code without serious investigation but it’s a useful tool for good programmers.

    • log@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      12 hours ago

      Then most developers you know are subpar. Frontier models routinely write far worse code than I. And I am only a moderately decent dev.

      I have even seen llm code generated with a frontier model that blew straight through array boundaries without a worry in the world.

      They can be useful at work, especially for tech I know little about, and as an additional set of eyes to avoid easy mistakes like off by ones, or doing wrong pointer arithmetic, but they are pretty abysmal at code generation.

      • red_tomato@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 hours ago

        I thought the same earlier this year. Opus 4.8 mostly produced garbage code in my eyes. Then Opus 5.5 came and now it can routinely produce about the same quality as me but much faster.

      • Taleya@aussie.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 hours ago

        Nononono “tech you know little about” means you don’t know enough to see the holes it’s making