Drop your app/services!
summary
Argues to delete the generic app/services folder and inspect it as a waiting room: audit and drop useless wrappers (system command wrappers, SQL fragment builders, one‑use regex extracts), move true domain concepts back into models (calculators, badge rules), and extract recurring layers like notifiers or webhooks into proper abstractions with base classes, DSLs and test helpers. Shows real-code examples of boilerplate, mixed interfaces and performance overhead, and offers an Analyze Services AI skill to automatically flag candidates.
AI-written summary · about
chapters (15)
- 0:00Introduction and hot take
- 6:34Speaker introduction
- 8:04Waiting room concept explained
- 10:09Drop random stuff in app services
- 14:53False consistency in service objects
- 17:03Sinkhole services and anemic classes
- 19:42Move domain objects back to models
- 25:45Identify domain objects in services
- 27:11Emerging abstraction layers
- 31:17Extraction as core requirement
- 32:49Barrel analogy for abstractions
- 35:00Examples of good abstractions
- 38:12Services in the AI era
- 40:27AI guidance for service objects
- 41:30Final hot take and summary
