A Brewer’s Guide to Filtering out Complexity and Churn
summary
Builds a tiny coffee machine app commit by commit, measures method complexity with flog, and watches scores climb from ~5.5 to 25.5 as conditionals and optional ingredients accumulate. Reintroduces duplication by rehydration to surface missing abstractions, extracts polymorphic beverage classes, adds a factory and null object, and drops complexity back into the “awesome” range so adding soup requires no edits. Ends with a churn vs complexity workflow to find hot spots.
AI-written summary · about
chapters (4)
- 0:00Start
- 16:59Refactor: Extract polymorphic objects
- 25:59Plotting complexity vs. churn
- 29:46Take Aways
related talks
37mA Brewer's Guide to Filtering out Complexity and...
58mFrom Zero to Live with Functional JavaScript Applications (Part 2)
29mDon’t let compilation set the length of your coffee break
48mFrom Chaos to Clarity Mathematical Foundations for Maintainable React Applications
40mConquering Complexity: Refactoring JavaScript Projects
49mBetter software design with domain modelling
45mConquering complexity: refactoring JavaScript projects
58mIntentional Code - Minimalism in a World of Dogmatic Design
