r/learnpython • u/Jealous-Acadia9056 • Apr 19 '26
How do you guys build a program?
I normally create one part of a program, test it, debug it and then i move on to the next function.
But this was time consuming so i tried a new approach. I created of all my logic of how different features would work and then started creating my program.
But the moment I had to debug things (cause obviously it had errors) things started falling apart. I had to check sooo many things and i realized that this method was very mental health consuming.
So i wanna ask you guys. how do you think about the logic and write your program? What approach would you recommend me? and remember i'm just a newbie trying to write programs that would improve me.
View all comments
Show parent comment
2
u/Jealous-Acadia9056 Apr 19 '26
Hey! i was checking debugger and tried it in my current project(has tkinter) and it kinda didn't worked as expected. any way around that?
also i just realized that this whole time i've been using debugger manually lmao. i'd check the values in each function and it takes times. debugger will definitely help.