• @TrickDacy@lemmy.world
    link
    fedilink
    English
    -19 months ago

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

    • @gaael@lemmy.world
      link
      fedilink
      English
      -29 months 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.

    • @tee9000@lemmy.world
      link
      fedilink
      English
      29 months ago

      Its really weird.

      I want to believe people arent this dumb but i also dont want to be crazy for suggesting such nonsensical sentiment is manufactured. Such is life in the disinformation age.

      Like what are we going to do, tell all Countries and fraudsters to stop using ai because it turns out its too much of a hassle?

          • @TrickDacy@lemmy.world
            link
            fedilink
            English
            -19 months ago

            I would argue that it’s obvious if someone doesn’t know how to use a tool to do their job, they aren’t great at their job to begin with.

            Your argument is to blame the tool and excuse the person who is awful with the tool.

              • @TrickDacy@lemmy.world
                link
                fedilink
                English
                09 months ago

                Using a tool to speed up your work is not lazy. Using a tool stupidly is stupid. Anyone who thinks these tools are meant to replace humans using logic is misunderstanding them entirely.

                You remind me of some of my coworkers who would rather do the same mind numbing task for hours every day rather than write a script that handles it. I judge them for thinking working smarter is “lazy” and I think it’s a fair judgement. I see them as the lazy ones. They’d rather not think more deeply about the scripting aspect because it’s hard. They rather zone out and mindlessly click, copy/paste, etc. I’d rather analyze and break down the problem so I can solve it once and then move onto something more interesting to solve.

                • @aesthelete@lemmy.world
                  link
                  fedilink
                  English
                  19 months ago

                  They rather zone out and mindlessly click, copy/paste, etc. I’d rather analyze and break down the problem so I can solve it once and then move onto something more interesting to solve.

                  From what I’ve seen of AI code in my time using it, it often is an advanced form of copying and pasting. It frequently takes problems that could be better solved more efficiently with fewer lines of code or by generalizing the problem and does the (IMO evil) work of making the solution that used to require the most drudgery easy.

              • @aesthelete@lemmy.world
                link
                fedilink
                English
                -19 months ago

                Some tools deserve blame. In the case of this, you’re supposed to use it to automate away certain things but that automation isn’t really reliable. If it has to be babysat to the extent that I certainly would argue that it does, then it deserves some blame for being a crappy tool.

                If, for instance, getter and setter generating or refactor tools in IDEs routinely screwed up in the same ways, people would say that the tools were broken and that people shouldn’t use them. I don’t get how this is different just because of “AI”.

                • @TrickDacy@lemmy.world
                  link
                  fedilink
                  English
                  -19 months ago

                  Okay, so if the tool seems counterproductive for you, it’s very assuming to generalize that and assume it’s the same for everyone else too. I definitely do not have that experience.

    • @dgmib@lemmy.world
      cake
      link
      fedilink
      English
      39 months ago

      Just beware, sometimes the AI suggestions are scary good, some times they’re batshit crazy.

      Just because AI suggests it, doesn’t mean it’s something you should use or learn from.

    • @Warl0k3@lemmy.world
      link
      fedilink
      English
      239 months 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.

  • Eager Eagle
    link
    fedilink
    English
    39 months ago

    I like to use suggestions to feel superior when trash talking the generated code

  • EleventhHour
    link
    fedilink
    English
    1
    edit-2
    9 months 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.

  • @9point6@lemmy.world
    link
    fedilink
    English
    119 months 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

  • Greg Clarke
    link
    fedilink
    English
    239 months 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
    link
    fedilink
    English
    5
    edit-2
    9 months 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.

  • @LordCrom@lemmy.world
    link
    fedilink
    English
    49 months ago

    I get more benefit from a good IDE that helps me track libraries, cars, functions, grammar checks my code, offers a pop-up with params and options…

    I don’t needcode I would grade as a D- from an AI. Most of what I write comes from my code closet anyway. I have skeleton code for so much, and I trust my old code more than AIs new code

  • @Landless2029@lemmy.world
    link
    fedilink
    English
    119 months 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.

    • Dremor
      link
      fedilink
      English
      79 months ago

      I also use it a lot for unit tests. It helps a lot when you have to write multiple edge cases, and even find new one at times. Like putting a random int in an enum field (enumField = (myEnum)1000), I didn’t knew you could do that…

      • @Landless2029@lemmy.world
        link
        fedilink
        English
        39 months ago

        Yeah. I’ve found new logic by asking GPT for improvements on my code or suggestions.

        I cut the size of a function in half once using a suggested recursive loop and it blew my mind.

        Feels like having a peer to do a code review on hand at all times.

  • @rsuri@lemmy.world
    link
    fedilink
    English
    19 months ago

    I use it occasionally. Recently I used it to convert a written specification in a document to a java object. And it was like 95% correct - but having to manually double check everything and fix the errors eliminated much of the time savings.

    However that’s a very ideal use case. Most often I forget it exists.

  • @ulkesh@lemmy.world
    link
    fedilink
    English
    79 months ago

    No shit. Senior devs have been saying this the whole time. AI, in its current form, for developers, is like handing a spatula to a gourmet chef. Yes it is useful to an extremely small degree, but that’s it…for now.

    • @finitebanjo@lemmy.world
      link
      fedilink
      English
      39 months ago

      A convoluted spatula that sometimes accidentally cuts what your cooking im half instead of flipping it and consumes as much power as the entirety of Japan.

    • @interdimensionalmeme@lemmy.ml
      link
      fedilink
      English
      -19 months ago

      It’s when you only have a pot and your fingers that a spatula is awesome. I could never bother finish learning C and its awkward syntax. Even though I know how to code in some other language, I just couldn’t write much C at all and it was painful and slow. And too much time passed between attempts that I forgot most of it in between. Now I can easily make simple C apps, I just explain the underlying logic, with example of how I would do it in my preferred language and piece by piece it quickly comes together and I don’t have to remember if the for loop needs brackets of parenthesis or brackets nor if the line terminator is colon or semi colon.

      • @ulkesh@lemmy.world
        link
        fedilink
        English
        29 months ago

        The problem is that you’re still not learning, then. Maybe that’s your goal, and if so, no worries, but AI is currently a hammer that everyone seems to be falling over themselves finding nails for.

        All I can do is sigh and shake my head. This bubble will burst, and AI will still take decades to get to the point people think it is already at.

        • @interdimensionalmeme@lemmy.ml
          link
          fedilink
          English
          09 months ago

          Au contraire, not only you quickly learn the grab bag of strategy and tricks of the “average programmers” and their default solutions, you no longer get bogged down in the menial wrangling of compiler syntax.

          That is IF you actually read, debug and implement this code as part of a larger system.

          Of course if it “just works” and you don’t read how it works then you just get a working tool, but don’t really learn how it works inside. Kind of like those people who just drive cars but never did replace their crank bearings and transmission clutch packs

          If you do interact with the code I think it will quickly elevate a newbie to a mediocre but capable programmer. Progressing beyond that is like stepping out and walking after driving for days.