Found in 6 comments on Hacker News
guiraldelli · 2021-09-20 · Original thread
I just skimmed the article, but a more comprehensive text on acquiring the skill to read code is the book Code Reading, from Diomedis Spinelli [1].


llimllib · 2020-03-08 · Original thread
In the vein of working effectively with legacy code, "Reading Code" by Spinelli taught me a lot when I was a younger engineer

(Amazon says I bought it 14 years ago!)

okaram · 2014-04-17 · Original thread
You may want to look at the book 'Code Reading' ; it's been a while, and I gave away my copy, but it was useful

gtani · 2011-12-24 · Original thread
Hmm, tough question to google but: I was going to blog about but: didn't get around toit. Look at static code analysis and runtime tools (debuggers) there's SO tags for that, python+code-analysis.

Python has a very rich toolset, including inspect module,

Also (this thread)[] mentions ctags, doxygen, tools like that. Reading test suites (and running code coverage) is where a lot of people start with new to them codebases. And python specific emacs and vim plugins, and python-specific IDE's, komodo and pycharm, at the tools they provide for folding code, showing module dependencies/call graphs, stuff like that


My python's a little rusty, but could generate stacktraces, or use an IDE's stepper/debugger to show where you are at some point in execution of django code


Finally [a book](

Maybe try this book? I'm not sure how good it is.
llimllib · 2009-02-17 · Original thread
You need this book, it's excellent: .

Fresh book recommendations delivered straight to your inbox every Thursday.