You are viewing a single thread.
View all comments View context
17 points

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

permalink
report
parent
reply
10 points

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.

permalink
report
parent
reply
6 points

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.

permalink
report
parent
reply
1 point
*

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point
*

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.

permalink
report
parent
reply
0 points

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

permalink
report
parent
reply

Technology

!technology@lemmy.world

Create post

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


Community stats

  • 18K

    Monthly active users

  • 12K

    Posts

  • 538K

    Comments