• MoonRaven@feddit.nl
    link
    fedilink
    arrow-up
    50
    ·
    1 day 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.

    • Jakeroxs@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      7 hours ago

      You can add instructions to not comment, you can also have it explain what it does at every step, not everyone just doesn’t care about learning. It can be a very effective teaching tool if you use it that way. 🤷

    • Enkrod@feddit.org
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      23 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.

      • pinball_wizard@lemmy.zip
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        7 hours ago

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

        Yes. This is where every “have you tried Agentic AI?” conservation lands, for me.

        They tell me I could pay daily, for worse results, to give up the bash script that has worked perfectly for five years. Oh, gee. Tell me more! Haha.

      • NotAnonymousAtAll@feddit.org
        link
        fedilink
        arrow-up
        13
        ·
        1 day 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
      ·
      1 day 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