• Landless2029@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    5 hours ago

    Everyone keeps talking about autocomplete but I’ve used it successfully for comments and documentation.

    You can use vs code extensions to generate and update readme and changelog files.

    Then if you follow documentation as code you can update your Confluence/whatever by copy pasting.

    • dubyakay@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      53 minutes ago

      I run code snippets by three or four LLMs and the consensus is never there. Claude has been the worst for me.

      • CaptSneeze@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 minutes ago

        Which one has been best? I’m only a hobbyist, but I’ve found Claude to be my favorite, and the best UI by a mile.

  • VonReposti@feddit.dk
    link
    fedilink
    English
    arrow-up
    19
    ·
    8 hours ago

    While I am not fond of AI, we do have access to it at work and I must admit that it saves some time in some cases. I’m not a developer with decades of experience in a single language, so something I am using AI to is asking “Is it possible to do a one-liner in language X where it does Y?” It works very well and the code is rarely unusable, but it is still up to my judgement whether the AI came up with a clever use of functions that I didn’t know about or whether it crammed stuff into a single unreadable line.

  • Greg Clarke@lemmy.ca
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    1
    ·
    11 hours ago

    Generative AI is great for loads of programming tasks like helping create regular expressions or syntax conversions between languages. The main issue I’ve seen in codebases that rely heavily on generative AI is that the “solutions” often fix today’s bug while making future debugging more difficult. Generative AI makes it easy to go fast in the wrong direction. Used right it’s a useful tool.

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    11 hours ago

    lol Uplevel’s “”“full report”“” saying devs using Copilot create 41% more bugs has 2 pages and reads like a promotional material.

    you can download it with a 10 minute email if you really want to see for yourself.

    just some meaningless numbers.

  • einkorn@feddit.org
    link
    fedilink
    English
    arrow-up
    72
    arrow-down
    6
    ·
    16 hours ago

    For me, it is a glorified auto-complete function. Could definitely live without it.

      • MeatsOfRage@lemmy.world
        link
        fedilink
        English
        arrow-up
        17
        arrow-down
        2
        ·
        11 hours ago

        Hell yea. Our unit test coverage went way up because you can blow through test creation in second. I had a large complicated migration from one data set to another with specific mutations based on weird rules and GPT got me 80% of the way there and with a little nudging basically got it perfect. Code that would’ve taken a few hours took about 6 prompts. If I’m curious about a new library I can get a working example right away to see how everything fits together. When these articles say there’s no benefit I feel people aren’t using these tools or don’t know how to use them effectively.

        • SkyeStarfall@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 hours ago

          Yeah, it’s useful, you just gotta keep it on a short leash, which is difficult when you don’t know what you’re doing

          Basically, it’s a useful tool for experienced developers that know what to look out for

  • Grandwolf319@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    11 hours ago

    Yep, by definition generative AI gets worse the more specific you get. If you need common templates though, it’s almost as good as today’s google.

    • Warl0k3@lemmy.world
      link
      fedilink
      English
      arrow-up
      26
      arrow-down
      1
      ·
      14 hours ago

      Its basically a template generator, which is really helpful when you’re generating boilerplate. It doesn’t save me much if any time to refactor/fill in that template, but it does save some mental fatigue that I can then spend on much more interesting problems.

      It’s a niche tool, but occasionally quite handy. Without leaps forward technically though, it’s never going to become more than that.

  • 9point6@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    2
    ·
    15 hours ago

    My main use is skipping the blank page problem when writing a new suite of tests—which after about 10 mins of refactoring are often a good starting point

  • ShunkW@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    16 hours ago

    And yet, higher ups continue to lay off more devs because AI “is the future”.

    • Pennomi@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      16 hours ago

      Flying cars exist, they’re just not cost effective. AFAICT there’s no GPT that is proficient at coding yet.

        • sepi@piefed.social
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          edit-2
          13 hours ago

          The more people using chatgpt to generate low quality code they don’t understand, the more job safety and greater salary I get.

  • TrickDacy@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    12
    ·
    11 hours ago

    I truly don’t understand the tendency of people to hate these kinds of tools. Honestly seems like an ego thing to me.

    • GreenKnight23@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      5 hours ago

      I sent a PR back to a Dev five times before I gave the work to someone else.

      they used AI to generate everything.

      surprise, there were so many problems it broke the whole stack.

      this is a routine thing this one dev does too. every PR has to be tossed back at least once. not expecting perfection, but I do expect it to not break the whole app.

      • TrickDacy@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        2 hours ago

        Like I told another person ITT, hiring terrible devs isn’t something you can blame on software.

    • leftzero@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      2
      ·
      9 hours ago

      Having to deal with pull requests defecated by “developers” who blindly copy code from chatgpt is a particularly annoying and depressing waste of time.

      At least back when they blindly copied code from stack overflow they had to read through the answers and comments and try to figure out which one fit their use case better and why, and maybe learn something… now they just assume the LLM is right (despite the fact that they asked the wrong question and even if they had asked the right one it’d’ve given the wrong answer) and call it a day; no brain activity or learning whatsoever.

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

        That is not a problem with the ai software, that’s a problem with hiring morons who have zero experience.

        • leftzero@lemmynsfw.com
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          5
          ·
          8 hours ago

          No. LLMs are very good at scamming people into believing they’re giving correct answers. It’s practically the only thing they’re any good at.

          Don’t blame the victims, blame the scammers selling LLMs as anything other than fancy but useless toys.

          • TrickDacy@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            1
            ·
            2 hours ago

            Okay before I blamed your terrible employees who are incredibly bad at their jobs but maybe I should blame their leadership after that comment

          • jungle@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            2
            ·
            4 hours ago

            Did you get scammed by the LLM? If not, what’s the difference between you and the dev you mentioned?

            • leftzero@lemmynsfw.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              43 minutes ago

              I was lucky enough to not have access to LLMs when I was learning to code.

              Plus, over the years I’ve developed a good thick protective shell (or callus) of cynicism, spite, distrust, and absolute seething hatred towards anything involving computers, which younger developers yet lack.

      • TrickDacy@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        9
        ·
        11 hours ago

        Yeah I’m sure you are concerned about the carbon footprint of it and that some dude you talked to once was arrogant about this technology.

        • FlorianSimon@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          11
          arrow-down
          2
          ·
          9 hours ago

          Of course you know me better than myself.

          I guess you wanted an answer but decided upfront you weren’t gonna like it no matter what? Not much I can do about that.

          • TrickDacy@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            4
            ·
            9 hours ago

            You probably don’t remember previously admitting to me that you never had used copilot, but at that time talked shit about it anyway. So it’s funny I clocked you perfectly as a an anti-LLM zealot – being one of the few people to respond here hatefully once again.

    • gaael@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      4
      ·
      10 hours ago

      Also, when a tool increases your productivity but your salary and paid time off don’t increase, it’s a tool that only benefits the overlords and as such deserves to be hated.

      • stephen01king@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        8 hours ago

        Oh, so do you use a 13 year old PC because a newer one increases your productivity without increasing your salary and paid time off?

        • Cryophilia@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          2 hours ago

          Personally… I do

          I could request a new one, but why? This one works, it’s just slow as all hell.

          • stephen01king@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 hour ago

            I mean, you’re clearly using them because they still work, not because of a hatred for increasing productivity for the overlords. Your choice was based on reasonable logic, unlike the other guy.

          • TrickDacy@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            1 hour ago

            I could request a new one, but why?

            Gives excellent argument for requesting a new one:

            slow as all hell.

      • TrickDacy@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        4
        ·
        10 hours ago

        Some people feel proud that their work got done quicker and also aren’t micromanaged so if they choose, yes actually they can have more time for their personal lives. Not everyone’s job is purely a transaction in which they do the absolute minimum they can do without being fired.

        I hope you feel better soon, because you’re clearly bitter and lashing out at whatever you can lash at.

        • ElectricMachman@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          7 hours ago

          I’m glad you live in this fantasy world where more productivity = more personal time, but it doesn’t always work like that, especially in salaried positions. More productivity generally means more responsibility coming your way, which rarely results in an increased salary.