• MoonRaven@feddit.nl
    link
    fedilink
    arrow-up
    37
    ·
    19 hours ago

    I’ve seen the comments AI adds and yeah… No… It’s often pointing out the obvious or even in some cases just misleading.

    • Enkrod@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      11 hours ago

      I told my boss I wouldn’t use AI to help write code and sign off on the commits with my name. He told me to use it to write the documentation… it was bad. Essential concepts were not mentioned and obvious shit was explained five times in slightly different phrasing. I am now writing our documentation as an obsidian vault myself again.

      I only have it compile a change log from the commit messages of commits and merges on the main and development branch. I know our commits are well written (because I established the standards for them in our repo myself) and that’s concrete and rigid enough that it can’t fuck it up enough to matter.

      But honestly there are build tools that could do that for me, I don’t need to buy tokens for that.

      • NotAnonymousAtAal@feddit.org
        link
        fedilink
        arrow-up
        11
        ·
        17 hours ago

        Not just beginners unfortunately. One of things I have to almost always teach to new colleagues, even experienced ones, is to put at least some minimal effort into making the code itself readable instead of relying on comments as crutches. Just basic things like picking proper names for variables and functions.

    • Kindness is Punk@lemmy.ca
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      18 hours ago

      Agreed it’s why if I’m asking for llm assistance I will generally start with a design for a component and ask it to follow that and comment accordingly usually leads to much better results than blanket asking it to do something for you