Safety Nets: Learn to Code With Confidence
summary
Argues that three concrete safety nets cut risk: tests (CI, mutation testing with mutant gem catches regressions—example: a hidden bug when total becomes an attribute), static analysis (RuboCop, flog/flay, Code Climate flag dead code and duplication so refactors actually reduce complexity scores), and code review (extracts VAT logic into a module, removes duplication). Notes stakes with a vivid cost range for radiotherapy $3,000–$15,000.
AI-written summary · about
chapters (8)
- 0:00Start
- 5:17Catch Errors & Mitigate Risks
- 8:04Safety Nets
- 11:08Check Functionality & Regression
- 12:35Tests Static Analysis Code Review
- 16:31Check Flaws & Smells
- 19:24Check Anything
- 19:36Test + Static Analysis
related talks
50mWriting Solid Ruby Code
56mIf You Won't Test Your Code, Who Will?
58mSecurity Static Analysis - Avoiding an Angry Mob of Engineers
24mThe Testers’ Secret Weapon – Code Reviews
25mA Dangerous Game: Safety in Ruby
32mSAST and Sensibility: A Rubyist’s Guide to Static...
29mHow I Learned to Stop Worrying and Love Unit Testing
23mMental Models for Better Code
