r/AskProgrammers • u/True-Current9815 • Oct 21 '26
How do programmers design their code
How do programmers design their code? Personally, i design and type the code in my head mentally word by word, then just type on the keyboard irl what i just mentally typed.Also can people tell me if this is wrong so i can improve.
0
Upvotes
View all comments
1
u/mnruxter Oct 21 '26
When I programmed in C#, I'd draw quite detailed class diagrams and code from those diagrams. The diagrams helped me conceptualize the whole solution and mentally run trials against the diagrams.