Ask HN: How do I dive into a bigger codebase?
All I have done till now is write and read code which was small in size. How do I get started with reading a bigger codebase? For ex. The Chromium Project, etc
So for the chromium project I'd try to work my way through, by performing an action. Then asking how it is performed, and follow the code through.
Hope this helps.
1. Download the code and figure out how to build it.
2. Figure out how to run it.
3. Figure out how to attach a debugger to it.
4. Figure out where to listen/break for an event whose purpose you pretty much understand (like the initial DNS request).
5. Follow the code down the rabbit-hole, you'll be amazed at how quickly it connects you to everything else in the code.