• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    7 months ago

    is having to pick apart someone else broken code.

    I agree, but also I do find that AI’s broken code is generally waaay less annoying to pick apart than my colleagues’ code. I’m not sure exactly why. Probably partly because it’s better at commenting code and naming variables so it’s easier to follow?

    I think also partly it’s because reviewing other people’s code is usually done during code review, where you can’t just directly edit the code to fix it - you have to start a conversation convincing them to do it differently. That’s quite annoying and doesn’t happen with AI generated code.

    • Beacon@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      I’m not a programmer so i don’t know if this makes sense, but I wonder if it’s easier to retool ai code because ai code is janky in a similar-ish way most of the time, while human code is janky in different ways all the time? Whadda ya think?

      • Windex007@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        I disagree with the premise.

        AI is good at making things that LOOK right. Pictures. Words. Whatever. Actually makes errors harder to find IMO.

    • sturger@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      I still don’t understand why we’re using humans to review AI code. Shouldn’t AIs be reviewing the code?

      We’re letting AIs do the fun part (coding) and forcing humans to review (the worst part) reams more janky code.

        • Beacon@fedia.io
          link
          fedilink
          arrow-up
          0
          ·
          7 months ago

          What are the results if you take code written by one brand of ai and then have another brand of ai review it? Like use chatgpt to write code, and then ask copilot if the generated code has any errors and will work as intended?

          • NoForwardslashS@sopuli.xyz
            link
            fedilink
            arrow-up
            1
            ·
            7 months ago

            I don’t know, if I put my hand in a fan and then put that mutilated hand into another brand of fan, do you think that might fix it?