TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to take notes when reading the source code of a large project?

2 pointsby kerneldeveloperalmost 8 years ago
When I read the source code of some large projects, I find it&#x27;s hard to remember all important details. I may understand an elegant function today, but tomorrow I may forget it. Even worse, after I have finished tracing a tedious function call, I realize I have forgotten what the initial function does.<p>I wonder whether you take notes when reading source code. Is there any good way to read the source code of a large project? Thanks.

1 comment

Chamuco1198almost 8 years ago
I usually try to make a UML Sequence diagram so I know what classes are being instantiated and what methods are being called as well as what&#x27;s being returned. Also, I try to make as many type hierarchies as I can, especially when abstract classes are involved.