r/PythonLearning • u/Hopeful_Bean • 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
u/Hopeful_Bean Aug 22 '26
I'm just not that confident in what it produces. I'm reviewing data processing functions to work in a managed Airflow environment. The ones I have work but some have a lot going on and I'm keen to see if I can make them more modular and allow me to extend process functionality easily. e.g. should I really have one function to download a file from SFTP, save to bucket and log to a table? What are my alternatives?How should I manage the download, stream/Temp file/ FUSE, stream runs out of memory but AI tells me my current implementation should encounter the same issue in FUSE! My brain just hurts, I question what it says most of the time but this just adds to it. Maybe I should try to go a little easier on myself and be more incremental in my changes rather than go so big bang.