this post was submitted on 29 Mar 2024
915 points (97.1% liked)

Programmer Humor

32479 readers
709 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Zedd00@lemmy.dbzer0.com 43 points 7 months ago (1 children)

I spent years getting great with powershell so I can now confidently copy code out of chatgpt. Chatgpt's ability to spit out close to correct code faster than I can type it is amazing, but useless if you don't understand what the hell it's trying to do.

[–] mac@infosec.pub 19 points 7 months ago (2 children)

Pretty much this, it's the one use case for copilot, I know what I want to type anyway and copilot is usually close enough that 2 edits is faster than typing the whole thing and better for rsi.

[–] Kalothar@lemmy.ca 6 points 7 months ago (1 children)

Basically the work flow has changed from:

Find a framework that I need to integrate for whatever reason. Go to GumboChumbo.io read the docs.

Write some code based off of what’s in the doc, test the thing, read error message, read docs, ad new thing, but wall for obscure reason, spend thirty minutes looking through similar issues via Google-fu and then find an obscure comment from 6 years ago, That some how fixes this current issue. Implement it, get it working and then customize it.

Now it just streamlines finding these solutions.

[–] mac@infosec.pub 3 points 7 months ago* (last edited 7 months ago)

Yeah it's definitely a lot quicker than searching through 15 articles and stack overflow posts sometimes. Except for with regex and the sed command, the bastard thing kept messing that up

[–] poinck@lemm.ee 2 points 7 months ago (1 children)

But sometimes Copilot just uses too much words to present the answer, so I use ChatGPT which can be personalized.

(Maybe it is possible with Copilot, too, maybe I have to ask how to do it)

[–] mac@infosec.pub 3 points 7 months ago (1 children)

I find the opposite, chatgpt (free version at least) gives all the explanation and stuff then a code block, copilot (not Microsoft the GitHub one) just prints the boilerplate directly in the editor then you press tab to accept.

[–] Amanduh@lemm.ee 3 points 7 months ago

Just tell gpt to be brief in your prompt