I explored a few codebases recently of public projects(tree-sitter, serenade, typescript). Does anyone know whether there is any high quality content out there related to exploring and understanding codebases?
What I have noted<p>- Ask HN: How do you learn new libraries without much documentation? - <a href="https://news.ycombinator.com/item?id=23800590">https://news.ycombinator.com/item?id=23800590</a><p>- Also see this comment on the previous post - <a href="https://news.ycombinator.com/item?id=23800729">https://news.ycombinator.com/item?id=23800729</a><p>- On navigating a large codebase - <a href="https://news.ycombinator.com/item?id=26129190">https://news.ycombinator.com/item?id=26129190</a>
Two things that helped me early in my career:<p>- Going to open-source libraries I was relatively familiar with, looking at commit #1, and then moving forward in time. (This works best when the project started on GitHub, rather than the first commit being a giant single-commit import of a released version.)<p>- Strangely, "Working Effectively With Legacy Code" gave me some generally useful tips on actively probing large codebases (instead of just trying to learn them by reading.)