Ways to read source code and learn?

https://news.ycombinator.com/item?id=3897515
by dwong • 14 years ago
1 3 14 years ago

I've been reading through source code for various programs to get better at programming. I know that many of the people here also do this.

I'm wondering what your approach is when you're trying to learn from source code (not debug, but reading it to get better at programming). Do you go line by line, follow a top-level function call, etc? Also, if you're familiar with the syntax, do you quickly skim over boilerplate code to be more efficient?

Thanks for any advice. Trying to speed up my learning process.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com