• einkorn@feddit.org
    link
    fedilink
    English
    arrow-up
    54
    arrow-down
    6
    ·
    30 days 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
        1
        ·
        30 days 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
          1
          ·
          29 days 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

          • AWildMimicAppears@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            29 days ago

            From the combined comments it looks like if you are a beginner or a pro then it’s great; if you only have just enough knowledge to be dangerous (in german that’s proverbial “gefährliches Halbwissen”) you should probably stay away from it :-)

    • Kualk@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      29 days ago

      We always have to ask what language is it auto-completing for? If it is a strictly typed language, then existing tooling is already doing everything possible and I see no need for additional improvement. If it is non-strictly typed language, then I can see how it can get a little more helpful, but without knowledge of actual context I am not sure if it can get a lot more accurate.

    • Warl0k3@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      1
      ·
      30 days 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.

    • dgmib@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      29 days 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.

  • 9point6@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    30 days 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@lemmy.ca
    link
    fedilink
    English
    arrow-up
    16
    ·
    30 days 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.

  • ShunkW@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    30 days 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
      ·
      30 days 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
          30 days ago

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

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    30 days 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.

  • VonReposti@feddit.dk
    link
    fedilink
    English
    arrow-up
    6
    ·
    30 days 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.

  • tkw8@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    3
    ·
    edit-2
    30 days 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

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

  • ulkesh@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    29 days 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.

  • Cpo@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    28 days ago

    I partly disagree, complex algorithms are indeed a no, but for learning a new language it is awesome.

    Currently learning Rust and although it cannot solve everything, it does guide you with suggestions and usable code fragments.

    Highly recommended.

    • WhyJiffie@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      27 days ago

      Currently learning Rust and although it cannot solve everything, it does guide you with suggestions and usable code fragments.

      as does the compiler and the rust book

  • EleventhHour@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    3
    ·
    edit-2
    30 days 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.