- Most of your time will be spent reading, not writing.
- Simulates working at a company or open source project.
- It's the fastest way to learn and improve.
- Learn how to ignore large parts of a codebase and get a piece-by-piece understanding.
- Read the docs (if they exist).
- Run the code.
- Play with the code to see how it behaves.
- Think about how the code might be implemented.
- Get the code into an editor so that you can modify it.
- Look at the file structure.
- Get a sense for the overall structure
- Make note of any unfamiliar concepts that you might need to research later.
- Look at each function or snippet and see how they are connected without diving into concepts from #2.
- Test one feature with the debugger.
- Document and add comments to confusing areas.
- Research items in #2 only if required.
- Repeat steps 4-6 if you want to understand more.
- Replicate parts of the app by hand (in the console).
- Make small changes and see what happens.
- Add a new feature.