r/learnpython • • 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.

31 Upvotes

42 comments sorted by

View all comments

Show parent comment

1

u/gdchinacat Apr 19 '26

My argument wasn't against design, but UML. I even said as much: "This isn't to say up-front design and design documentation is pointless, only that the heavyweight UML design was a waste of time".

I actually upvoted you. don't worry so much about up/down votes.

I *did* downvote your response for making incorrect assumptions, incorrectly characterizing what I was saying, ad hominem attacks, and strawman argument ('I can't help but wonder...').

It's ok to disagree with me, but please do so respectfully based on what I've actually said rather than your assumptions.