Mental Models for Better Code
summary
Six concrete practices and their effects: assume 90% of codebases are crap so make one small improvement today (run Brakeman and RuboCop, add a test, fix docs) and you get an order‑of‑magnitude easier codebase over years; use write an outside‑in RSpec/Capybara test first to avoid rabbit holes; treat code reviews as teaching and relationship building to spread domain knowledge and improve quality; practise nemawashi — get buy‑in person‑by‑person and always frame advice with context and a falsifiable prediction.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:42MENTAL MODELS FOR BETTER CODE SIX IDEAS THAT WILL PROBABLY MAKE YOU BETTER AT BUILDING SOFTWARE
- 4:23INVERSION
- 8:01OUTSIDE-IN TESTING
- 10:40CODE REVIEWS
- 17:07RELATIONSHIPS CODE
- 20:06CONTEXT & PREDICTION








