Rules
summary
Five concrete constraints: 100 lines per class, five lines per method, no more than four parameters, controller actions pass one instance variable and know at most two class names. Claim: these force many small POROs, minimal dependencies, and lower maintenance cost. Evidence: a thoughtbot team adopts the rules and reports safer, more changeable code; a junior engineer feels confident making local changes. Backing from research: rule-followers cooperate four times more than rule-breakers, and a single breaker collapses mixed teams.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:52Rules
- 3:05Taboo Laws and Norms
- 8:09Constraints
- 11:14The Rules
- 12:36Design Choice
- 18:30Rails Patterns
- 21:19Research
- 30:20Consequences








