Ask HN: Is ChatGPT just kinda shit for programming help?

https://news.ycombinator.com/item?id=35568488
by jascination • 3 years ago
7 9 3 years ago

I've tried using ChatGPT for help with a React Native (JS) project, and it continually seems to just make up answers and confidently display them as correct.

For instance, I'm trying to use AWS Amplify's Auth service to authenticate users, and when I sign them out it's trying to auto-log them in again.

This is a known bug and there are a few github issues about it. ChatGPT confidently tells me that the way to solve this problem is to use some methods which, when I try them, don't exist at all on Amplify Auth, and when I search for them there's no record of them whatsoever.

Similarly I tried to get its help in making an animation using the RN Animated API, and its suggestions were all from React Native Reanimated (a different project), although the code sample imported the Animated API from RN instead. When I corrected it, it gave some suggestions with methods that didn't exist for either.

These are just a few examples but I'm finding it fairly useless for coding help so far. Am I expecting too much from it? Am I using it wrong?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com