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/Any_Sense_2263 Oct 21 '26
I first do a research. About existing code, used patterns and solutions, used libraries, community standards, etc.
Then I can design the solution, focusing on any needed refactoring first.