Why do your tests need a database to check a business rule?
5 min read
The fifth SOLID principle is not about injecting dependencies. It is about something earlier: who writes the contract, and which way the arrow points.
Notes on building software.
5 min read
The fifth SOLID principle is not about injecting dependencies. It is about something earlier: who writes the contract, and which way the arrow points.
5 min read
The fourth SOLID principle looks at the caller rather than the module you write: nobody should carry methods they never call.
5 min read
The third SOLID principle polices something the compiler cannot see: whether the substitute keeps the promises the original made.
5 min read
The second SOLID principle is not about predicting the future. It asks for something far humbler: leave a socket where you already saw the change arrive.
5 min read
The first SOLID principle is not about doing one thing. It is about something more useful and stranger: having a single owner.