Re:On The Fear Of Reading Code
by _delirium on Friday March 26, 2010 @03:53PM
(#1221913)
I've found that with good code, you actually have to read relatively little, because comments explain what it does. You read a specific section if you want to figure out the detail of what the comment says, or find it surprising ("really, it just does that in 5 lines?"). I try to do this with my own code, because I don't even like reading my own code.
Put differently, I 100% agree with Knuth's still-mostly-unheeded call for literate programming, as the real solution to making code readable.
Put differently, I 100% agree with Knuth's still-mostly-unheeded call for literate programming, as the real solution to making code readable.