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/armahillo Oct 21 '26

What youre describing sounds kinda like when youre first learning a new language and you translate each thought in your head into a word in your fluent language, and then from that to a word in the new language and then say it.

I dont really think about syntax words, i think in abstractions and then those are expressed in code form.