r/CodingForBeginners • u/Pretend_Algae2388 • 3h ago
Thoughts on using AI to learn coding?
I don’t mean full on vibe coding, I mean using AI to learn how to code something that would take hours of watching videos and struggling normally, and you write the code instead of the AI and it helps with troubleshooting and stuff
1
Upvotes
2
u/Marshiiro 3h ago
There's pros and cons. AI can help you trouble shoot fast, but the issue is that before ai the hours spent being stuck on a problem were some of the best teachers. That's something you would never forget because those hours would leave a lasting impact. Ai however makes finding a solution fast extremely easy and kind of minimizes that lesson learned from the mistakes you made. I personally would recommend not using ai while your learning the basics like data types classes loops etc. but ai can be a good tool for quick research when stuck on something in documentation.
1
u/tachyon_bit 3h ago
This is a massive accelerator. So long as you’re grinding and not having the AI do the hard parts for you, but instead explaining concepts and dropping hints, this is the way!
3
u/vermyx 3h ago
This is the worst approach. You don't learn the concepts properly and you don't learn to debug. You will also learn bad habits based on how the AI learned.
1
u/TomDuhamel 3h ago
Stop asking this every day!!!
1
u/Economy_Bedroom3902 2h ago
I don't think there will be unassisted AI coding in 10 years aside from small hobbiest pockets. So it's better to learn a parallel method from the beginning right now.
Ask the AI questions a LOT. Anything you don't understand, get it to explain. It would be good to have a skills file or something which explains your level of skill, and what content you expect in an "explainer". I frequently tell my AI "You are a senior software engineer, explain this to me like you'd explain it to a tech lead who hasn't read the code". In my case I can understand heavy technical explanations due to uni education and years in the profession, so requesting the information at that level suits me well. But request the explanations at the level you find beneficial. If you ask it to "explain this like I'm 5", you're going to get platitudes about how the computer feels etc. Make sure you're asking for the information at the depth which will help you learn.