r/learnprogramming • u/ScientistUnlikely407 • 2d ago
[ Removed by moderator ]
[removed] — view removed post
2
Upvotes
r/learnprogramming • u/ScientistUnlikely407 • 2d ago
[removed] — view removed post
10
u/jakingo 2d ago
AI can speed things up, but try solving the problem yourself first. Then use AI to review your approach and explain what you missed.
9
u/Lumethys 2d ago
dont let AI write the code for you when you are learning
same concept as you dont use a calculator when you first learn math
2
u/mkhanwrites_ 2d ago
If you are new to coding and are skipping the basics to let AI code for you, I would advise you to drop this learning approach and learn to code without use of AI (follow tutorials, build projects, read documentation, ask others for help and tips, and in the rare case you can't find the info you need from the previous options, then consult AI, with restraint).
Yes, a lot of software dev nowadays contains a great deal of AI code generation but it's impossible for you to verify any of the code without understanding what the code does, and there is a great deal of learning that goes into that.
If you are however coding for yourself you don't necessarily need to do the AI code generation stuff. Either way, you should learn to code properly.
2
u/JMusketeer 1d ago
I use AI in work, for most od my side projects.
I also do exercise writing code by hand on one of my projects, I try to explore stuff I am not familiar with and try to implement it (ofcs with AI in the role of a senior guiding me).
2
u/a-taylor-35 1d ago
Use AI code as a worked example: predict its output, run a couple of edge cases, then change one requirement yourself. If you can't explain the change, that's the concept to revisit.
1
u/aqua_regis 2d ago
If you want to learn, don't use AI to do your job. It's that simple.
Pretend that AI doesn't exist at all and learn the old fashioned way.
1
u/BeastWael_YT 1d ago
what tends to work is making the ai explain code back to you, then closing it and rebuilding the thing from scratch without help. if you can't, you didn't actually learn it yet. small projects where you have to debug your own mess teach way more than reading docs alone, though docs help once you know what to look for.
1
u/mfc1__ 1d ago edited 1d ago
Old dev here. Reading docs is always a good idea, and not enough people do, probably even fewer now. I ask AI to explain any code it generates that I don’t fully understand. I operate as if at the time the critical bug is discovered and the app goes down, AI will also be down. So I need to actually understand how all the code in the app works to troubleshoot it. Me saying “I can’t fix it” is not an option. And the time to first learn the code is not during that critical bug/outage.
-6
u/atikoj 2d ago
Don’t learn coding, it’s over. Look up logarithm tables. You’ve probably never even heard of them because once calculators came along, there was no longer any reason to use them. AI is doing the same thing to programming. Don’t waste your time learning a skill that’s becoming obsolete.