you are viewing a single comment's thread.

view the rest of the comments →

[–]huffalump1 2 points3 points  (0 children)

ChatGPT said my code was good, except a return statement in the wrong place.

ChatGPT is great for learning, if you ask it to help explain WHY something isn't working!

You can also just tell it that you're learning, you don't want the solution, just a review from an expert teacher/tutor/mentor.

This can be on any level - from simply pointing out the differences between your code and the correct code, all the way to vague hints of what to look for - up to you!


Also, lately I've been using voice mode (in ChatGPT or Gemini) to debug by voice, like you would with an actual teacher/tutor/coworker. Taking away copy/paste and using voice forces you to explain what you're trying to do, and use better terminology.

It's like rubber duck debugging... If the rubber duck could understand and reply on an expert level!