The Intro to Abstraction I Wish I'd Received
summary
Argues that abstraction is a concrete skill not a buzzword and shows a failing real example: a Rails app that produces an Excel report via a third party like twilio and a spreadsheet rubygem ends up with many duplicated service classes each doing five similar steps so debugging bites back at least three times. Refactor introduces a report data class and an assembly line of processing domain and presentation layers which reduces coupling, makes tests simpler and lets the report evolve with changing regulations.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:55What Is Abstraction
- 6:27How Is Abstraction Used in Technology
- 8:04Why a Function Is an Example of Abstraction
- 11:11Service Classes
- 13:40Additional Layers of Abstraction
- 19:18Too Many Abstractions
- 19:59Pain Points
- 23:33Gratitude and Self-Compassion
- 24:13Resources
related talks
01h 03mIt's Abstractions All the Way Down...
36mOn the Spectrum of Abstraction
19mFinding Your Abstraction Sweet Spot
38mKeynote: Abstractions Breed Intuition
33mStart writing Ruby (stop using classes)
45mAbstraction Considered Harmful (and other opinions about writing maintainable code)
43mLess abstract! Expressing Ruby OOP in pictures
30mRuby Techniques by Example
