Hacker News new | ask | show | jobs
by JonChesterfield 1413 days ago
I wrote code on paper occasionally. Anyone else? Don't see an existing comment about it.

Notebook, multicoloured pen, usually C or lisp syntax. Tends to be thinking through data structures. Kills the temptation to check my work by running it which forces me to think harder about the intended execution.

edit: used to use whiteboards for the same purpose but sadly don't have one at present

3 comments

I still do. Generally data structures and flow more than actual code these days, but sometimes I'll also sketch out an API or something by hand. I find it tremendously helpful for cultivating understanding, designing systems, and solving problems!
I once commented to use one color for code and another for everything else (when learning a programming language). It got more upvotes than I would have expected, so others must be coding on paper as well.
Idea -> diagram -> pseudocode -> code. All on paper. Prefer loose sheets so I can spread them out. Mentally run through it and "printf" to the margins. Concise languages only.