Clear Architecture in the small
summary
Argues that extracting a pure model from UI yields tiny, testable business logic and shows a working Snake game wired to both a React browser view and a terminal view. Uses TypeScript, React, a seeded RNG for reproducible placement and a DDD-like API such as moveUp/moveDown so tests can “play the game” end to end and assert properties like score increments and game over. Reports that simpler, higher-level tests increase team test adoption and maintainability.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:24Let's Play
- 2:41Outline
- 3:28Presentation VS Model
- 5:06A Checkout Model
- 7:34The Snake Model
- 9:40The Tale of a Snake View
- 10:28The Snake View
- 13:18Testing
- 20:49Learnings
related talks
25mTestable Architecture: Keep 'em Separated
49mDeveloping a clean architecture-inspired React application with MVVM
41mInside Software Architecture - Where the Bodies are Buried
30mThe Art of Front-end Architecture
01h 29mArchitecture Beyond Clean & Hexagonal
24mBuilding Software Architecture from First Principles
23mClean Architecture: A Twelve Months Journey to Clarity
52mEvolving a Pragmatic, Clean Architecture A Craftsman's Guide
