|
|
|
Ask HN: How do you discover features in unknown code bases?
|
|
26 points
by hvasilev
1314 days ago
|
|
I'm realizing that one of the reasons why I don't do a lot of additional hobby programming is because I'm missing a fundamental skillset that I never developed (in a reliable way) over the years. I think I don't know how to discover features that I'm interested in, in code bases that I'm unfamiliar with.
Example: In Chromium I want to find the algorithm that is building the DOM. I'm not sure if that is even part of the code base (https://github.com/chromium/chromium)
How would you personally approach this problem? |
|
Look through closed tickets in the issue tracker, and try to find a change (bugfix or new feature) that must have, given its nature, touched the functionality you're looking for. Then try to find the changeset(s) where that ticket's change was implemented.
With some luck, the changeset will include a modification to the part of the codebase you've been looking for.