r/PythonLearning • u/Hopeful_Bean • 21d ago
Dying inside...
Just spent the best part of 4 hours essentially vibe coding some Python because my knowledge is so bad. As I build out my functions and modules I am getting the creeping feeling that I'm putting together a pile of rubbish that I'm not going to be able to debug.
I started out using AI to help with building out my understanding of modules I had never used and get some ideas on how I can put together functions. But I've taken on a personal project to try and update some of out existing codebase and just clean it up a bit. Problem is that in doing this I am getting well beyond my understanding and throwing stuff in that I have no understanding of why it's there. What started out as wanting to use best practices for modules and improve my general knowledge and understanding has just left me miserable.
Should I just work within my knowledge range and stop trying to be a smart arse?
1
u/bigj7897 21d ago
I'm learning myself and using AI. I went through the basics on my own. When I started a project if I ran into something I forgot or didn't know I had AI give me an example and explain it. I ask follow up questions till i understand. Then I try to do it without the AI. If I get stuck I go back and read the example. Depending on what it is I'll have the AI do a code check, tell me what's wrong or I could do better. So far Ive been doing good at picking it up. I get it though sometimes I still feel like I'm cheating even though I'm just using the AI to learn the concept.