this post was submitted on 11 Aug 2023
27 points (96.6% liked)

Programmer Humor

32479 readers
384 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (1 children)

Programming with AI help is like having the expert chef at my shoulder, giving me tips, but he's high as hell on three different mild altering drugs.

Then he's like "That cake needs some lemon juice. Trust me."

[–] [email protected] 3 points 1 year ago (1 children)

If it's lemon drizzle that would actually be appropriate lmao.

[–] [email protected] 4 points 1 year ago (1 children)

Yep. Every strange recommendation is either a brilliant technique I've not seen yet... Or just the AI hallucinating out of it's mind.

[–] [email protected] 3 points 1 year ago

Man you have to try lemon drizzle cake some time. It's delicious.

[–] [email protected] 5 points 1 year ago (3 children)

Maybe it's because I'm only using it as plan B or C (after the documentation has already failed me), but I have never gotten any usable code out of chatGPT.

And yet co-pilot is able to finish my code perfectly after I type the first few characters... even though they're the same model.

[–] [email protected] 1 points 1 year ago

I think co-pilot works better because it has the context of the whole project for reference when suggesting auto completion. I've gotten a lot of unusable junk from it too though

[–] [email protected] 1 points 1 year ago (1 children)

Co-pilot isn't using the same model. They're using a model that's been trained on a LOT of open-source code.

[–] [email protected] 1 points 1 year ago

Alot of "open" source code ( ͡° ͜ʖ ͡°)

[–] [email protected] 0 points 1 year ago (1 children)

ChatGPT is amazing for describing what you want, getting a reasonable output, and then rewriting nearly the whole thing to fit your needs. It's a faster (shittier) stack overflow.

[–] [email protected] 1 points 1 year ago

I normally have it output toy examples of the syntax I don't want to bother learning and then remix that into what I need. IMO it's better than stackoverflow because stackoverflow code is more likely to be not really what you were searching for or not actually run because the author didn't bother testing it and there's a typo or something.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Unless it's Microsoft documentation in which case it feels more like bill gates beating me over the head with the frying pan until I give up and find an alternative way to achieve my goal

[–] [email protected] 3 points 1 year ago

Or AWS documentation. Trying to use it feels like getting tortured with thumbscrews.

I hate it so much. It's a cyclical maze of ignorance and frustration.

Google, on the other hand, may have my hand in marriage.

[–] [email protected] 1 points 1 year ago

If there are even any docs... I usechatgpt when i can find no usefull docs. Quite often it can find some information somewhere.