• dependencyinjection@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    11
    ·
    5 months ago

    Simply false in my experience.

    We use CoPilot at work and there is no babysitting required.

    We are software developers / engineers and it’s saves countless hours writing boilerplate code, giving code blocks based on a comment, and sticking to our coding conventions.

    Sure it isn’t 100% right, but the owner and lead engineer calculates it to be around 70% accurate and even if it misses the mark, we have a whole lot less key presses to make.

    • HauntedCupcake@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      arrow-down
      3
      ·
      5 months ago

      Using Copilot as a copilot, like generating boilerplate and then code reviewing it is still “babysitting” it. It’s still significantly less effort than just doing it yourself though

      • FarceOfWill@infosec.pub
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        2
        ·
        5 months ago

        Until someone uses it for a little more than boilerplate, and the reviewer nods that bit through as it’s hard to review and not something a human/the person who “wrote” it would get wrong.

        Unless all the ai generated code is explicitly marked as ai generated this approach will go wrong eventually.

        • just another dev@lemmy.my-box.dev
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          5 months ago

          Unless all the ai generated code is explicitly marked as ai generated this approach will go wrong eventually.

          Undoubtedly. Hell, even when you do mark it as such, this will happen. Because bugs created by humans also get deployed.

          Basically what you’re saying is that code review is not a guarantee against shipping bugs.

        • HauntedCupcake@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          5 months ago

          Agreed, using LLMs for code requires you to be an experienced dev who can understand what it pukes out. And for those very specific and disciplined people it’s a net positive.

          However, generally, I agree it’s more risk than it’s worth

      • Echo Dot@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        5 months ago

        How is it more effort to automate boilerplate code? Seriously the worst part of being a programmer is writing the same line of code all of the time. Especially when you know that it won’t actually cause anything interesting to happen on the screen it’s just background stuff that needs to happen.

        When I used to develop websites I don’t think I could have lived without Emmett, which was basically the predecessor to co-pilot.

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

          Well you have to actually setup the boilerplate, plus copilot is generally more intelligent and context aware, especially for small snippets when you’re already coding

      • dave@feddit.uk
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        5 months ago

        Surely boilerplate code is copy / paste or macros, then edit the significant bits—a lot less costly than copilot.

        • dependencyinjection@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          5
          ·
          5 months ago

          That would still make more effort.

          So, for an example we use a hook called useChanges() for tracking changes to a model in the client, it has a very standard set of arguments.

          Why would we want to waste time writing it out all the time when we can write the usual comment “Product Model” and have it do the work.

          Copy and Paste takes more effort as we WILL have to change the dynamic parts every time, macros will take longer as we have to create the macros for every different convention we have.

          If you can’t see the benefit of LLMs as a TOOL to aid developers then I would hazard a guess you are not in the industry or you just haven’t even given them a go.

          I will say I am a new developer and not amazing, but my boss the owner and lead engineer is a certified genius, who will write flawless code on damn teams to help me along at times, and if he can benefit from it in time saved then anybody would.

          • dave@feddit.uk
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            3
            ·
            5 months ago

            My PhD was in neural networks in the 1990s and I’ve been in development since then.

            Remember when digital cameras came out? They were pretty crappy compared to film—if you had a decent film camera and knew what you were doing. I fell like that’s where we’re at with LLMs right now.

            Digital cameras are now pretty much on par with film, perhaps better in some circumstances and worse in others.

            Shifting gear from writing code to reviewing someone else’s is inefficient. With a good editor setup and plenty of screen real estate, I’m more productive just writing than constantly worrying about what the copilot just inserted. And yes, I’ve tested that.

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

              Clearly what works for our company ain’t what would work for you, even if I think it’s preposterous what you’re claiming.

              My boss was working on Open Source from the BSD days and is capable of very low level programming. He has forgotten more than I’ll ever know, and if he can find LLMs a useful tool for our literal company to improve productivity then I’m inclined to stick with what I have seen and experienced. Just not having to do and search documentation alone is a massive time saver. Unless obviously you know everything, which nobody does.

    • Olap@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      5 months ago

      What if I told you that typing in software engineering encompasses less than 5% of your day?

      • dependencyinjection@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        5 months ago

        I’m a developer and typing encompasses most of my day. The owner and lead engineer has many meeting and admin work, but still is writing code and scaffolding new projects around 30% of his time.

        • dual_sport_dork 🐧🗡️@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 months ago

          I’m a developer and typing encompasses most of my day as well, but increasingly less of it is actually producing code. Ever more of it is in the form of emails, typically in the process of being forced to argue with idiots about what is and isn’t feasible/in the spec/physically possible, or explaining the same things repeatedly to the types of people who should not be entrusted with a mouse.