r/learnprogramming • u/Vrwdev • 1d ago
Simple Question About AI
So Im Still New In Programing, i had some experience on PHP,Python,C#(unity), and newly Native C# dotnet. But After end of 2023s im using ai as a "mentor" to accelerate learning. im not blindly copy paste ai code rather i ask ai how it can be done, like ask the architecture, the base code, example code, etc and writing on my own. usually on first itteration im using 100% my own code and then copy paste it to ai and ask if there was a bug or things that i can do better(for example architecture optimization) and on itteration 2 or so on its had AI on it.
My Question Are:
- is this good learing strategy?
- is this good for long term?
- is this what is referred to as "Vibe Coding"?
3
u/aqua_regis 1d ago
In short, you are outsourcing the actually most important parts of programming - the parts that finally lead to the implementation in code.
This way, you are not learning programming at all. You are avoiding learning problem analysis and problem solving, both of which are far more important and far more difficult than the actual implementation in a programming language.
With your approach, you only become a "code monkey". Someone who can clobber in code once someone else has fully and extensively defined the logic, the requirements, and just about everything else apart from the actual code. You are doing the part that AI would be really good at, instead of doing the parts that you should become good at.
You focus on the end product instead of focusing on learning to design the product.
3
u/ComputerWhiz_ 1d ago
If you were just asking AI to review the code and suggest improvements or to point out deficiencies, then it's not necessarily bad. Essentially, you're asking AI to peer review your code. This is assuming your code runs and works properly in the first place and you're not just pasting non-functional code into AI.
That said, leaning on this reduces opportunity for growth because debugging and reviewing code are two of the quickest ways to improve your understanding.
However, in my opinion, asking AI for code that is not just a little non-specific snippet used to explain a concept is a big no-no for someone who is learning.
2
u/aanzeijar 1d ago
Adding to the other commenter:
You can test that out for yourself. Take one of the tasks you would normally "accelerate" with AI and do it without. If you can do it without trouble and it just takes longer due to typing, then AI is a valid help. If you need to think about stuff, experiment with different ideas or your ideas turn out not to work, then AI was cheating you out of learning.
And a word of warning about posting it to AI after you write it for review: most LLMs will try to do what you asked of them. If you ask for criticism, they will find stuff to nitpick about. If you ask whether it's good code, they'll tell you it's good code. If you ask whether it's good code or whether something can be improved they'll tell you it's good code and then nitpick about it, which everyone who tried to strap them into actual code reviews has found out and then added a metric ton of clauses into the prompt. And deciding when the AI is just being critical for the sake of being critical takes the knowledge you are trying to learn in the first place.
1
u/betarage 1h ago
You can use ai to ask questions since it's hard to find good solutions online it's not always clear how to do many things.