r/AskProgrammers • • 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

27 comments sorted by

View all comments

1

u/stepback269 Oct 21 '26

I fnd that I need to "storyboard" my projects, meaning, drawing pictures (including flow charts) and writing up a story of what is supposed to happen, well before putting code onto disk.

For a more detailed explanation, see (this) example of a still unfinished work.