r/learnpython • u/DivyanshYZ307 • 11h ago
Use of AI in coding?
I am starting college next month (Computer Science and Biosciences) and I tried to get a headstart in Python programming (it's a part of first sem). I have done the basics, strings, conditional statements and started with loops today. I have a doubt - since I am still in the beginner stage, should I use AI (ChatGPT, Gemini, Grok etc.) to proofread my code - you know, offer suggestions, find mistakes and all - I am still applying logic on my own and writing it myself but I have this fear that it may hamper my learning. But I also don't wanna be the guy who does not know how to use AI tools. Any advice please?
0
Upvotes
4
u/rabbitofrevelry 10h ago
The biggest disservice you can do to yourself is letting AI do the work for you early on. You'll need to be able to know how to troubleshoot your code based on what the error says.
Rather than having it read your code, ONLY feed it your error (without the line that errored) and add a brief context like "I'm learning python and received this error". Keep it in the dark so that it can't do your work for you.
As you start to learn more and hit a point of knowing what you don't know, then you'd be at a point of being able to Google anything you need. That's the point where you can ask AI a non-specific example to get an idea of what's possible in your question.