
Composition, Pattern Matching, and Additivity

#187 - The Tao of Microservices - Richard Rodger
Topic 4 of 8
Published Aug 12, 2024 · Clip 19:12–28:41 (9:29)
Richard explains composition over inheritance, pattern matching as a mental model for composable components, and additivity: leaving old code alone and adding new matching code like Lego bricks. He covers cross-cutting concerns like timestamps and permissions via intercepting messages, running the system as a local modular monolith or deploying by domain as Lambdas, simple mocking of JSON documents, the banana-monkey-jungle mocking problem, why classes make poor components, and Unix pipes and Postel's law as inspiration.