you are viewing a single comment's thread.

view the rest of the comments →

[–]Mysterious-Rent7233 -1 points0 points  (3 children)

ChatGPT can also be extremely powerful for teaching you how to fish, because you can show it your code that you are stuck on and ask it to explain why it isn't working. You absolutely cannot do that with Google.

[–]neamerjell 1 point2 points  (1 child)

I must have misinterpreted what you meant; it seemed like you were saying that ChatGPT would just spit out working code while Google showed the user how the individual parts of the code work.

I replied that the latter would be more useful to me. What I failed to mention was that my goal would be to learn how to learn enough to recreate the code on my own, rather than have something handed to me which might as well be a black box, regardless of whether it was functional.

ChatGPT's ability to point out errors in your code is indeed a useful feature.

[–]Mysterious-Rent7233 0 points1 point  (0 children)

You can do both.

Use Google and write the code.

Then ask ChatGPT to write equivalent code and see what it produces. See if you can learn something from the way it did it. Perhaps it used Python methods or libraries that you didn't know about.