this post was submitted on 19 Feb 2024
287 points (97.0% liked)

Technology

59377 readers
4734 users here now

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


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] kescusay@lemmy.world 61 points 9 months ago* (last edited 9 months ago) (20 children)

Copilot isn't actually bad for developers, it's just that you need to be careful with it and recognize its limitations.

Writing a bunch of REST endpoints for an API and need to implement all the typical http verbs, and you already have all the matching methods for reading, updating, and deleting values in a complex SQL database for each endpoint to call? Copilot can turn a ten minute chore into a ten second one. Very handy.

Writing those complex SQL methods in the first place? Yeah... Copilot will probably make a ton of mistakes and its work will need to be triple-checked. You'll save time just doing it yourself if you know how. (And if you don't, you have no business calling yourself a developer.)

Copilot is best for easy boilerplate and repetitive code. Problems arise as soon as you ask it to get "creative."

[–] lemmyvore@feddit.nl 9 points 9 months ago (3 children)

Copilot isn't actually bad for developers, it's just that you need to be careful with it and recognize its limitations.

Is it me or is this a weird statement for what's supposed to be an exact science?

Imagine working in construction and using a level and you're told "it's not that it's a bad level, you just gotta be careful with it".

How much margin for error should we allow for getting our code right? Is it now acceptable if we only get 80% right?

[–] birbs@lemmy.world 4 points 9 months ago

As a software developer I promise you that software development is very much not an exact science.

Programs are complex and there are so many different ways of achieving the same thing that all code has problems and gets a bit messy in places. You can test, but it's not easy to ensure that everything works the way it should.

The best code you're going to get will probably be in the space industry, but even that will have bugs. The best you can do is make the code robust even when bugs make things go wrong.

In many cases copilot will do just as well as a junior developer. It's very good at repetitive tasks and filling gaps in your existing code.

load more comments (2 replies)
load more comments (18 replies)