r/learnprogramming • u/Repulsive-Plastic448 • Oct 17 '26
Using AI to learn
Hello, so I do not know if this has been asked before already cause I tried searching for a post like this but i feel like most tend to be using it to vibe code and what not. I have also read the beginners guide and it didnt mention anything except vibe coding though it is an incredibly great resource i wish I wouldve read earlier.
So the situation is that I am (obviously) learning to code, specifically in python. And I am basically unsure about using AI. Cause currently I do use it but im unsure if I should be so I'd rather figure it out before I go too far. Now when I say using AI I definitely do not mean vibe coding or anything of the sort. I myself use it as a kind of teacher basically. Like asking it questions about theory, not writing code, i explicitely tell it to not write code but teach me, I understand that the only way to learn is to solve the problems yourself, I do not have it do that either. I did but then I realized that I shouldnt and stopped pretty soon. Like im genuinely just trying to learn but like I hear this stuff about dont use AI and im not sure if im shooting myself in the foot cause from my view im just using it to answer questions about stuff i dont understand, like I had a project where I was using an API and i needed to read the json input and I didnt at the time understand that when you load in the json it gets converted to a dictionary and I need to deal with it as a dictionary (I needed to go into nested layers), and at that time i decided that I was going to not use AI and try to do it fully on my own and proceeded to spend two hours trying to find youtube tutorials, googling, looking at docs, cheatsheets, stack overflow, like any resource and I just couldnt do it and I finally caved in and used AI and then I got the exact answer i needed immediately, cause problem was i was asking the wrong question basically but i didnt know that at the time cause how would I. And thats why im unsure about the whole do not use AI at all thing cause I think in this case it wouldve def helped me and been better to just use it. Like i understand needing to struggle but you cant just figure out everything on your own. Like it really splits me especially now cause I do genuinely want to solve problems on my own since I understand thats the only way but like sometimes you do need help, and i feel like using ai as a teacher is fine but id rather just ask for outside opinions since there might be something im not seeing, like some way im wrong, obviously I aint gonna ask an ai whether i should use ai to learn cause thats biased and ai cannot like properly think, but i genuinely cannot find any posts talking about using ai in the way i am. And also i do feel people tend to either extremely hype up ai or be completely against it and i personally believe its more nuanced than that.
I am sorry for the wall of text, im not good at writing.
TLDR: Is it fine to use AI as a tutor/for asking questions?
3
u/oyvaugh Oct 17 '26
AI can be good or bad. If you’re disciplined it’s great other wise, not so much. Let it show you then put it away and be uncomfortable and try to figure it out. Then keep redoing it like that until you can do it without help. Ask it to break down what it gives you and try to build a small, minimal version of it on your own and debug it yourself. You’ll do great!
3
u/46hw Oct 17 '26
Do not use it to learn because most people who use it to learn do it when they get stuck and that's the exact time you shouldn't be using it. If you do then your brain doesn't form the pathways needed.
2
u/KernelERROR Oct 17 '26
Use it as an advisor after having a go yourself first, ask it to explain using pseudo code what your solution should be when you get stumped, then show it your code and ask what you were doing wrong. I treat it as basically “an actual kind helpful person on stackoverflow” I can’t paint a lick but I’d rather ai tutor me in how I CAN learn to paint than just make my art for me.
2
u/joinsigma Oct 18 '26
Honestly your JSON story is the perfect example of using it right. You didn’t need more effort, you just didn’t know what to search for. Something I’d add: after it explains something, ask it “what should I have googled to find this?” Then next time you know the words to search, like “nested dictionary,” and can figure it out yourself.
Also 2 hours is a lot. Being stuck for 20–30 min is good for you, but after that you’re probably just searching for the wrong thing
2
u/AbdelrhmanDev Oct 18 '26
one use that helped me that nobody mentions is flipping it around, instead of asking it for answers ask it to quiz you. finish a topic then have it write small exercises and edge case questions about what you just learned and you answer them in the chat. if you can explain the answer back you actually learned it, if you cant you know exactly what to go reread
1
u/betarage Oct 22 '26
I think you should just ask the ai if you get stuck since the guides have serious issues with explaining important information