I found it very helpful to review code on paper. After writing a gnarly algorithm, my favorite way to scrutinize and improve it is to print it out on paper, lie on a couch, and mark up the text with a red pen. I focus much better this way, away from an interactive computer.