Long run Quote by Peter Seibel
““Seibel: How do you read code you didn't write? Crockford: By cleaning it. I'll throw it in a text editor and I'll start fixing it. First thing I'll do is make the punctuation conform; get the indentation right; do all that stuff. I have programs that can do that for me, but I find doing that myself is more efficient in the long run because it gets me more acquainted with the code.””
About This Quote
Source Interview: Coding Best Practices, 2005
Understanding unfamiliar code requires first normalizing its format to reduce cognitive load and build familiarity.
In simple terms: Clean code to understand it.
Format before reading.
Themes
Mood
Type
When to use this quote
- debugging
- code review
- onboarding
- refactoring
Key Concepts
Questions to Reflect On
- How does formatting affect comprehension?
- What other steps deepen code familiarity?
Automation can miss nuanced intent.