
Building Vertical Slices

#89 - Code That Fits in Your Head - Mark Seemann
Topic 8 of 11
Published May 23, 2022 · Clip 35:56–39:48 (3:52)
Mark explains vertical slices—an idea from Nat Pryce and Steve Freeman's 'Growing Object-Oriented Software Guided by Tests'—as implementing a feature all the way through as narrowly as possible, instead of getting stuck on side quests like building logging or database frameworks first. The book uses an online restaurant reservation system, with the first vertical slice being posting a reservation JSON to a self-hosted REST API that persists it. Vertical slices oppose traditional horizontally layered architecture.