I use pen and paper. OCR technology is good enough now that I can scan my code in and usually don't have to edit anymore, but if I do then it's pretty easy to fix it up with Gimp.