▶️ Video
✓ Link checked
Free
Intermediate
Why we picked it Metz shows, live, how to untangle genuinely ugly code by following the smells rather than reaching for the rewrite button, and her line "duplication is far cheaper than the wrong abstraction" is the honest test for whether your MVP mess is worth rebuilding around yet. It reframes the rebuild decision around real usage: wait until the code shows you the pattern instead of guessing the perfect structure up front. Watch it when you feel the pull to abstract or rebuild too early.
All the Little Things
On RailsConf 2014 (YouTube) by Sandi Metz ~35 min
- Premature abstraction is more expensive than duplication, so resist rebuilding around a structure you have not seen the real usage for yet.
- You can make tangled code dramatically simpler through small, test-covered refactoring steps, and it often gets a little worse before it gets better.
- Let the code smells tell you what to change next, which keeps the rebuild decision grounded in real signals instead of gut feel.