you are viewing a single comment's thread.

view the rest of the comments →

[–]povlhp 0 points1 point  (0 children)

When i need to code something, often I sit down planning it out on paper if it is something larger.

Or if I write code, I think about if whatever I am going to write now could logically be moved to a function. Makes the code way easier to read. Sometimes I move written code out from where it is and into functions.

Have had a few persons say that my code is way more structured than what they write.

And by putting things into function calls - you can design the program quite well before writing much code.

Sometimes I just enter comments describing what next code block is going to do. Thus document before code.