News for hackers. Stuff that matters.
Re:How to Read Other People's Code -- And Why by wakeless on Friday October 23, 2009 @01:54AM (#898342)
I don't mind using code folding when I'm doing this. Trying to fold the code down that I don't care about, this way there isn't as much to read and get lost in.
Re:How to Read Other People's Code -- And Why by lsb on Friday October 23, 2009 @03:08AM (#898403)
If you're not folding functions, but parts of functions, that's a sign that it's poorly divided up, and a refactor would benefit it.
Re:How to Read Other People's Code -- And Why by zeugma on Friday October 23, 2009 @04:19AM (#898451)
Indeed, but you should understand it before even trying to rewrite it, then folding can help a lot on poorly divided code. `