~/talk

Reading other peoples code

Talkat NDC Sydney 2018 · 2018-09-17..09-21· [developer-experience]
slides:none on file

Covers ten concrete techniques for understanding huge codebases (she mentions Chromium ~600k files and Vivaldi) and gives actionable steps: get the repo locally, run it in a debugger, grep for UI strings to find a button and follow its onclick to the handler, write an integration test to exercise a flow, read the startup/“main” to see event loops, use small throwaway refactors to learn, and use retelling/documentation to solidify the mental model.

AI-written summary · about

  1. 0:00Intro
  2. 0:32Reading Other People's Code
  3. 2:52If you approach other people's code wanting to learn You will learn if you approach to criticize: You will criticize
  4. 4:22Code is the serialized version of a Mental Machine
  5. 16:05Investigating Your GUI framework - Trace platform events Look at graphics output Find the platform integration architecture
  6. 17:38Integration / System Tests - How to run it - Use Cases Write tests to drive the code you're looking at Write tests to examine your assumptions
  7. 23:39Window Layout Find the Main Layout Find the implicit State Machine This is what changes the window contents Maps often to Use Cases
  8. 33:03Which interfaces does it implement? Who uses it and how? Public functions are the mains of a class
  9. 37:08What is the predictor of team excellence? Google's Project Aristotle concluded: Psychological Safety
  10. 46:42Great code should be personal We want people to take pride in their work Learn to appreciate other people's code Style is individual
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.