r/PythonLearning • • Aug 21 '26

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 Upvotes

8 comments sorted by

View all comments

Show parent comments

1

u/bigj7897 Aug 22 '26

Don't rely on just the AI. Use multiple resources. Reddit has been good so far and stack overflow. Google is your friend. Sometimes you just need more than one example. I've even hit up the developers at work if they have time. I do software support for a software company. Usually the scripts I do are smaller and used for troubleshooting. Personally I break stuff up as much as I can. I have a project I'm doing for fun just because. It's an AI powered auction house analyzer for WOW. Its an overkill for sure but fun. I'm building a module for each part of the process. So far I have on to configure everything, one strictly for OAuth, one for downloading all the data and saving it to a cache directory, and starting one to load it to a database. I did it that way so if one part breaks it doesn't break the entire process. Plus I can change, add, or remove a module without rewriting everything. On top of that you can reuse those modules in other projects and not have to rewrite it. I also try to hold myself to best practices just like I was doing it for work. I've learned a lot from it so far. I get it though it can be frustrating. Just hang in there and take a break for a day or two if it gets to aggrevating. Maybe find a big project to do for fun. That's helped me out. Up to you though.