Software Architect, O'Reilly Author and Trainer, Keynote Speaker. Author of "Balancing Coupling in Software Design🍁" and "Learning Domain-Driven Design🐒” 🌱
Dec 27, 2020 • 13 tweets • 3 min read
Last week I received an interesting response to my cardboard #dddesign thread. It inspired me to write another one.
A thread on why some problems aren't worth your time and effort. (1/13)
What do you see in the picture? A piece of cardboard? Some junk? No! — It’s a model!
Thread on models and bounded contexts 1/9
#DDDesign#BoundedContext
It’s a model of the Siemens KG86NAI31L fridge. The cardboard doesn’t look anything like the fridge? — That’s true but not important. A model is not a copy of a real-world entity but a construct supposed to solve a problem. 2/9
Dec 4, 2020 • 6 tweets • 1 min read
For quite some time, I’ve been questioning some of the SOLID principles’ relevance, especially of the Liskov Substitution Principle (LSP).
Until I was hit in the face by it.
Thread
First, the definition: LSP states that a program that uses an interface must not be confused by an implementation of the interface.