Reading other peoples code
summary
When faced with thousands of files (Vivaldi’s codebase reaches about 600,000 files), start by getting the repo locally, building it, and using grep/search or your IDE to find a UI string, then set breakpoints on the click handler to capture widget hierarchies and stacks. Combine runtime debugging with add logging and tests (prefer integration tests), read the program’s main/bootstrap, do throwaway refactors for learning only, take notes and diagrams, and retell the flow aloud or to a colleague (rubber duck retelling).
AI-written summary · about
