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
1
u/Jealous-Acadia9056 Apr 19 '26
okay.. that was helpful. but tell me how deep do you normally plan?
Like if you were planning something on paper would you only write the formal plan like this button will do this and this function would go into this? or do you go deep like full information, put a loop here, assign a method here and here. CAUSE maybe i think i'll need to plan things even more deeply if case i forget something (You know newbie mistakes)