Over the past few years, the evolution of AI-driven tools like GitHub’s Copilot and other large language models (LLMs) has promised to revolutionise programming. By leveraging deep learning, these tools can generate code, suggest solutions, and even troubleshoot issues in real-time, saving developers hours of work. While these tools have obvious benefits in terms of productivity, there’s a growing concern that they may also have unintended consequences on the quality and skillset of programmers.

  • Dunstabzugshaubitze@feddit.org
    link
    fedilink
    arrow-up
    67
    arrow-down
    1
    ·
    2 months ago

    I’ve seen enough programmers blindly copypasting code from stackoverflow and other forums without thinking and never understanding the thing they just “wrote”, to know that tools like copilot won’t make programmers worse, they will allow more people to be bad programmers.

    people need to read more code, play around with it, break it and fix it to become better programmers.

  • thesmokingman@programming.dev
    link
    fedilink
    arrow-up
    52
    arrow-down
    5
    ·
    2 months ago

    I have heard the same rhetoric about IDEs, autocomplete (Intellisense, Jedi, etc.), DevOps, and frameworks. The kernel of truth across all of them is the separation between a dev and good dev. It is getting easier and easier to have something built for you using AI in your IDE in a framework that abstracts all the things away dumped into a prebuilt pipeline that deploys your artifacts for you. A dev can do that. A good dev understands the tools and knows when to dig into things.

    I have yet to see a decrease in the number of good devs I meet even though IDEs slowly replaced text editors (and editors became strong enough to become IDEs). Frameworks have enabled more good devs to focus on business logic. DevOps provides solid guard rails for everything.

    I don’t know if there’s an increase in the number of superficial devs. I haven’t interviewed junior dev candidates in awhile. I do know the market is flooded right now so I’d argue there might be other factors.

    Also overall I do agree with the idea that letting copilot do everything for you means you don’t understand anything. Shit was the same way when cookbooks were common.

  • BatmanAoD@programming.dev
    link
    fedilink
    arrow-up
    26
    ·
    2 months ago

    I was hoping this might start with some actual evidence that programmers are in fact getting worse. Nope, just a single sentence mentioning “growing concern”, followed by paragraphs and paragraphs of pontification.

  • dinckel@lemmy.world
    link
    fedilink
    arrow-up
    24
    arrow-down
    4
    ·
    edit-2
    2 months ago

    Anything that allows people to blindly and effortlessly get results inherently makes them more stupid. Your brain is like any muscle. You need to repeatedly use it for it to work well

    • Scratch@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      20
      arrow-down
      10
      ·
      2 months ago

      I’ll bet people said the same thing when Intellisense started suggesting lines completions.

      And when errors were highlighted in the code rather than console output.

      And when high-level languages started appearing.

      • dinckel@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        2 months ago

        This really isn’t a good comparison at all. One gives you a list of choices you can make, and the other gives you a blind answer.

        If seeing what argument types the function takes make me a worse engineer, so be it, I guess

      • MajorHavoc@programming.dev
        link
        fedilink
        arrow-up
        11
        arrow-down
        1
        ·
        2 months ago

        I’ll bet people said the same thing when Intellisense started suggesting lines completions.

        They did.

        And when errors were highlighted in the code rather than console output.

        Yep.

        And when high-level languages started appearing.

        And yes.

        That said, if you believed my mentors, we were barelling towards a 2025 in which nothing running on software ever really worked reliably.

        So they may have been grumpy, but they were also right, on that point.

      • u_tamtam@programming.dev
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        2 months ago

        I’ll bet people said the same thing when Intellisense started suggesting lines completions.

        I’m sure many did, but I’m also pretty sure it’s easy to draw a line between code assistance and LLM-infused code generation.

      • JackGreenEarth@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 months ago

        And they may have been right. But getting code is usually the end result, not proving you’re some better programmer. And useful tools may be used to help you with the aforementioned goal.

  • Daemon Silverstein@thelemmy.club
    link
    fedilink
    arrow-up
    9
    arrow-down
    2
    ·
    2 months ago

    I’m a 10+ (cumulative) yr. experience dev. While I never used The GitHub Copilot specifically, I’ve been using LLMs (as well as AI image generators) on a daily basis, mostly for non-dev things, such as analyzing my human-written poetry in order to get insights for my own writing. And I already did the same for codes I wrote, asking for LLMs to “Analyze and comment” my code, for the sake of insights. There were moments when I asked it for code snippets, and almost every code snippet it generated was indeed working or just needing few fixes.

    They’ve been becoming good at this, but not enough to really replace my own coding and analysis. Instead, they’re becoming really better for poetry (maybe because their training data is mostly books and poetry works) and sentiment analysis. I use many LLMs simultaneously in order to compare them:

    • Free version of Google Gemini is becoming lazy (short answers, superficial analysis, problems with keeping context, drafts aren’t so diverse as they were before, among other problems)
    • free version of ChatGPT is a bit better (can keep contexts, can issue detailed answers) but not enough (it does hallucinate sometimes: good for surrealist poetry but bad for code and other technical matters when precision and coherence matters)
    • Claude is laughable hypersensitive and self-censoring to certain words independently of contexts (got a code or text that remotely mentions the word “explode” as in PHP’s explode function? “Sorry, can’t comment on texts alluding to dangerous practices such as involving explosives”, I mean, WHAT?!?!)
    • Bing Copilot got web searching, but it has a context limit of 5 messages, so, only usable for quick and short things.
    • Same about Bing Copilot goes for Perplexity
    • Mixtral is very hallucination-prone (i.e. does not properly cohere)
    • LLama has been the best of all (via DDG’s “AI Chat” feature), although it sometimes glitches (i.e. starts to output repeated strings ad æternum)

    As you see, I tried almost all of them. In summary, while it’s good to have such tools, they should never replace human intelligence… Or, at least, they shouldn’t…

    Problem is, dev companies generally focus on “efficiency” over “efficacy”, wishing the shortest deadlines while wishing some perfection. Very understandable demands, but humans are humans, not robots. We need our time to deliver, we need to cautiously walk through all the steps needed to finally deploy something (especially big things), or it’ll become XGH programming (Extreme Go Horse). And machines can’t do that so perfectly, yet. For now, LLM for development is XGH: really fast, but far from coherent about the big picture (be it a platform, a module, a website, etc).

    • groucho@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      1
      ·
      2 months ago

      A thing that hallucinates uncompilable code but somehow convinces your boss it’s a necessary tool.

      • KeriKitty (They(/It))@pawb.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 months ago

        I’ll never forget attending CS courses with a guy who got violently angry at having to write code. I assume he’s either thrilled with Copilot or in prison for attacking somebody over its failure to reliably write all of his code for him.

  • beeng@discuss.tchncs.de
    link
    fedilink
    arrow-up
    7
    arrow-down
    9
    ·
    2 months ago

    You write machine code?

    No, you only describe what you want the compiler to write in machine code.

    With copilot it’s still a description.

    • magic_smoke@links.hackliberty.org
      link
      fedilink
      arrow-up
      6
      ·
      2 months ago

      Sure but you’re also specifically telling it direct instructions which it will follow every time to the T, based on predetermined logic.

      That is no where near how an LLM works. Furthermore, most programming languages require effort to learn. They night not be machine language, or even an assambler, but its still a skill you actually have to learn beyond speaking your native tongue.

      Also one could make the argument that machine code is a “description” of what you want the CPU to do.

      • beeng@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        2 months ago

        The skill beyond your native tongue is knowing what a db does and how to describe what your app does. Aka a designer, with design language. Good luck with a LLM getting it to do what you want with no domain specific language.

        “No, no, not like that, I meant bigger…”

    • Snarwin@fedia.io
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      If the compiler produces a program that doesn’t match your description, you can debug the compiler. Can you debug an LLM?

      • beeng@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        2 months ago

        Why wouldn’t a compiled program match your description (code)? The compiler is broken?? Compiled programs alwsys match their description(code).

        So more likely your translation from idea to function is wrong.

        Re-read your description, step through it slowly, what did you assume, that was wrong, or where did you add a mistake or typo?

        You can say that llms are not deterministic of what they produce, but that’s got nothing to do with making a programmer worse at their job.

        If you can’t translate your idea into function and test its output to be what you want, then you are a bad programmer.

    • Ethan@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      2 months ago

      Copilot frequently produces results that need to be fixed. Compilers don’t do that. Anyone who uses copilot to generate code without understanding how that code works is a shit developer. The same is true of anyone who copies from stack overflow/etc without understanding what they’re copying.

      • beeng@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        2 months ago

        You’re missing the point. If the program doesn’t do what it’s meant to its YOU that didn’t use the tools between you and metal, correctly. LLM involved or not, it’s how you’ve described it, in whatever ‘language’ you chose (natural or Rust)

    • ulkesh@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      And many programmers write some pretty stupid and horrible descriptions. LLMs don’t solve this, they just allow lazy programmers to be even lazier.

        • ulkesh@beehaw.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          I don’t even know how to respond to this. It makes no sense at all and doesn’t really relate to or respond to my comment except it happens to use the word “lazy”, I’m guessing in reference to my comment. Good luck trying to push LLMs, not sure what your agenda really is, other than to be argumentative here. Peace.