698
you are viewing a single comment's thread
view the rest of the comments
[-] pennomi@lemmy.world 32 points 6 months ago

Copilot is often a brilliant autocomplete, that alone will save workers plenty of time if they learn to use it.

I know that as a programmer, I spend a large percentage of my time simply transcribing correct syntax of whatever’s in my brain to the editor, and Copilot speeds that process up dramatically.

[-] Swedneck@discuss.tchncs.de 19 points 6 months ago

problem is when the autocomplete just starts hallucinating things and you don't catch it

[-] pennomi@lemmy.world 30 points 6 months ago

If you blindly accept autocompletion suggestions then you deserve what you get. AIs aren’t gods.

[-] Albbi@lemmy.ca 13 points 6 months ago

AI's aren't god's.

Probably will happen soon. SMBC has so many comics on the subject

[-] TrickDacy@lemmy.world 6 points 6 months ago

OMG thanks for being one of like three people on earth to understand this

[-] EatATaco@lemm.ee 2 points 6 months ago

you don’t catch it

That's on you then. Copilot even very explicitly notes that the ai can be wrong, right in the chat. If you just blindly accept anything not confirmed by you, it's not the tool's fault.

[-] jjjalljs@ttrpg.network 9 points 6 months ago

I feel like the process of getting the code right is how I learn. If I just type vague garbage in and the AI tool fixes it up, I'm not really going to learn much.

[-] pennomi@lemmy.world 6 points 6 months ago

Autocomplete doesn’t write algorithms for you, it writes syntax. (Unless the algorithm is trivial.) You could use your brain to learn just the important stuff and let the AI handle the minutiae.

[-] chicken@lemmy.dbzer0.com 4 points 6 months ago

AI can help you learn by chiming in about things you didn't know you didn't know. I wanted to compare images to ones in a dataset, that may have been resized, and the solution the AI gave me involved blurring the images slightly before comparing them. I pointed out that this seemed wrong, because won't slight differences in the files produce different hashes? But the response was that the algorithm being used was perceptual hashing, which only needs images to be approximately the same to produce the same hash, and the blurring was to make this work better. Since I know AI often makes shit up I of course did more research and tested that the code worked as described, but it did and was all true.

If I hadn't been using AI, I would have wasted a bunch of time trying to get the images pixel perfect identical to work with a naive hashing algorithm because I wasn't aware of a better way to do it. Since I used AI, I learned more about what solutions are available, more quickly. I find that this happens pretty often; there's actually a lot that it knows that I wasn't aware of or had a false impression of. I can see how someone might use AI as a programming crutch and fail to pay attention or learn what the code does, but it can also be used in a way that helps you learn.

[-] TrickDacy@lemmy.world 4 points 6 months ago

Where "learn" means "memorize arbitrary syntax that differs across languages"? Anyone trying to use copilot as a substitute for learning concepts is going to have a bad time.

[-] tiefling@lemmy.blahaj.zone 8 points 6 months ago* (last edited 6 months ago)

I use AI a lot as well as a SWE. The other day I used it to remove an old feature flag from our server graphs along with all now-deprecated code in one click. Unit tests still passed after, saved me like 1-2 hours of manual work.

It's good for boilerplate and refactors more than anything

[-] TrickDacy@lemmy.world -1 points 6 months ago
this post was submitted on 20 Apr 2024
698 points (94.6% liked)

Showerthoughts

29522 readers
1293 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The best ones are thoughts that many people can relate to and they find something funny or interesting in regular stuff.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics (NEW RULE as of 5 Nov 2024, trying it out)
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct

founded 1 year ago
MODERATORS