• VonReposti@feddit.dk
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 hour 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
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    4 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
    7
    ·
    edit-2
    4 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.

  • Grandwolf319@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    4 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
      18
      arrow-down
      1
      ·
      7 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.

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

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

      • MeatsOfRage@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        2
        ·
        4 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.

  • 9point6@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    2
    ·
    8 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
    ·
    9 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
      ·
      9 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
          5
          arrow-down
          1
          ·
          edit-2
          6 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
    7
    arrow-down
    8
    ·
    4 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.

    • leftzero@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      2 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
        3
        ·
        2 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
          4
          arrow-down
          2
          ·
          1 hour 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
        5
        arrow-down
        5
        ·
        4 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
          7
          arrow-down
          2
          ·
          2 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
            3
            ·
            2 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
      ·
      3 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
        2
        ·
        1 hour 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?

      • TrickDacy@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        3 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
          1
          ·
          5 minutes 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.

  • tkw8@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    3
    ·
    edit-2
    9 hours ago

    I’m shocked. There must be an error in this analysis. /s

    Maybe engage an AI coding assistant to massage the data analysis lol

  • EleventhHour@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    3
    ·
    edit-2
    9 hours ago

    Devs that are punching above their class, however, probably get great benefit from it. I would think it’s also an OK learning tool, except for how inaccurate it can be sometimes.