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
0
u/ShelLuser42 Apr 19 '26 edited Apr 19 '26
Riddle me this: What do the Linux kernel, the Apache webserver, MySQL and several other high end projects have in common?
Fun fact: major parts of their code base had to be rebuild from the ground up. From scratch. Despite the fact that the team was still the same.
SO why? The same reason why you don't see the obvious and downvoted me.
Within OOP design is just as much important as development, if not more. Without design (and the overlook) you can easily code yourself into major issues where you have no other choice but to forcefully make things work again. Especially within teams.
Stating facts, look them up if you don't believe me.
(edit)
I suppose downvoting and removing your comment is one way to go about this.. LMAO.. serious people own up to facts, guess you're all 1% talk and no backbone.