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

      • NotAnonymousAtAll@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 month ago

        Not just beginners unfortunately. One of the 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.

    • Enkrod@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      1 month 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
        1
        ·
        1 month 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.

    • Jakeroxs@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      1 month 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. 🤷

      • CileTheSane@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        AI is a terrible way to learn something. It will do something wrong, explain it incorrectly, and you will have no idea.

        AI is only useful if you are able to spot and correct the mistakes it makes. Because it will make mistakes.

        Very effective teaching tools already exist if you want to learn.

          • Shanmugha@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            1 month ago

            Someone hasn’t done enough debugging in their life. I wish the lesson be as painless as possible

            • Jakeroxs@sh.itjust.works
              link
              fedilink
              arrow-up
              0
              arrow-down
              1
              ·
              1 month ago

              I’m definitely still a noob but I’ve done hundreds of hours of debugging on code in the past few months, and my job for the past 8 years is basically to troubleshoot issues, though the past year I got to start doing devops/code work on the side.

              Its fine though, I get why you guys are scared.

              • boonhet@sopuli.xyz
                link
                fedilink
                arrow-up
                2
                ·
                1 month ago

                Then you should know that code not working is the absolute easiest fuckup to catch. It’s literally not one to be concerned about.

                One in a million chance of an edge case that doesn’t throw an error at all, but does something unexpected? Good luck if you don’t know how the system works.

                • Jakeroxs@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  0
                  arrow-down
                  1
                  ·
                  1 month ago

                  I do and please name a single human written program that doesn’t have a fuck up edge case that isn’t literally just hello world.

                  Neither humans nor AI generally write flawless code

    • psud@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Sorry, you were hired as a prompt engineer, your prompt wasn’t good enough to make perfect code, so you are fired

      • Shanmugha@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        Nah. A bunch of llm code review agents say that produced code is of high quality, fire anyone who said it would have taken for them to implement same functionality more time than I have spent

    • dream_weasel@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 month ago

      Be sure to ask Claude to remove all comments, tests, and dry runs, then ask if there’s a good way you can make the code more complicated without increasing runtime more than 40%.

      (You can remove these slowdowns for profit later)

  • el_abuelo@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    I know I’m gonna get flamed for this, but here goes.

    I have vibe coded a system at work that has enabled me to deliver value in a fraction of the time I expected. My verification steps have been around whether it does the things I told it I wanted it to do. I’m not maintaining the syntax and I’m not expecting anyone else to. Ever.

    That said, our teams that deliver products that touch customer data or financial records…they shouldnt (and dont) engineer this way. The tech isnt there (yet).

    Let the flaming commence.

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      “…enabled me to deliver value in a fraction of the time I expected.”

      I don’t wanna flame you for it.

      This is kinda where I see vibe coding taking off the most: The same phenomenon as using LLMs to summarize and reply to pithy business emails.

      Business gets so unbearably businessy, people are using machines to bypass the inherently un-human “professionalism performance” for them.

      It might not be work anybody can claim to be proud of, but right now success for the professional-managerial class runs on looking busy and circling back to synergizing the workflow with best practices for optimal returns regarding key performance metrics 🤢 or whatnot.

      I don’t blame people for it, in a work context. Looking impressive with AI tools is now a survival tactic when working under normies holding the purse strings and investing stupid amounts of money into the bubble. They’ve forced people to be part of a circular, self-reinforcing imaginary reality they’re profiting from.

      So, I don’t wanna flame you. I just hope you’re doing something fundamentally human to keep your soul alive on the side, at least. Something you as a unique human being on this earth can be proud of. <3

      • el_abuelo@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        Honestly im proud of the problems I’m able to solve today now that I can use AI to do it so quickly.

        Even when I stop and manually check all the work the AI has done, it’s still much faster and I’m having to rely on my knowledge and experience to do so. When I’m vibe coding I’m relying on that same knowledge and experience to architect the solution rather than deliver it.

        Ive seen the other side- the colleagues who all of a sudden think theyre engineers and are unknowingly exposing critical commercial data to our competitors. That side is scary…and gives me hope that my role while changing, is far from dead.

        Also I have hobbies - i only work to pay for them. If “the man” wants to pay me to spend tokens…fine by me. I’ll be here to clean it up if it all goes wrong.

        • MonkeMischief@lemmy.today
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          All good, and I respect your perspective!

          I know you were like “flame me!” Lol, But hope I wasn’t sounding too judgy. I think it’s hard not to have strong opinions on the topic either way these days. (And I’m already prone to soapboxing haha.)

          Wishing you the best out there. :)

  • kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    “Did you just have Claude ship all this code?”

    “Yep”

    “You shouldn’t ship code you don’t understand…”

    “Good point. Claude, go understand this code for me!”

  • jaybone@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    A lot of big companies are basically forcing you to be Bill. They try to track AI usage, and make sure everyone is using it. Because they invested so much in AI, they need to force it, to make it a self fulfilling prophecy. It’s truly one of the dumbest things to behold.