r/ProgrammerHumor • • Dec 22 '22

Meme StackOverflow got hands

Post image
31.4k Upvotes

148 comments sorted by

View all comments

26

u/thelastpizzaslice Dec 22 '22

ChatGPT has helped me with a number of problems that Google couldn't, since it can actually parse your code.

39

u/Famous-Fishing-1554 Dec 22 '22

ChatGPT will just make-shit-up when it gets stuck.

It wrote beautiful code, and added a dissertation on using this API which was PERFECT for my task. When I asked about including the API library it gave me a likely sounding project name. When I complained I couldn't find the project then it came back with "I was just giving an example of how you could use this API if it actually existed".

3

u/Deliciousbutter101 Dec 23 '22

That's why you have to be very specific in your prompts to get good results. Either you should tell it what api to use (and if you don't know which one you use, you can ask it for one that would be appropriate). Also it handles feedback very well. If you just told it the library it provides doesn't exist and to use an existing library, then it should reimplement the code using an actual library.