Dave Farley calls it the Mockery. Jason Gorman has a video calling it Mock Abuse and Mock Hell. Both are true. I’m dealing with it at work and trying to gather various resources to help teach why this is a bad thing. I think Jason’s video has the best summary I’ve ever seen on it because “too many mocks” really are a symptom of a bad design.
Finally got around to reading Domain Modeling Made Functional, Tackle Software Complexity with Domain-Driven Design and F#, by Scott Wlaschin. Book basically covers:
Quick commentary on the ThoughtWorks 2025 Tech Radar; their yearly report on things to try, adopt, and avoid (they call it “hold”, meaning proceed with caution whereas I’m like “yeah, no, avoid the noid”). I only cover the ones I find interesting, so if you want to read the whole thing, PDF is downloadable here: https://www.thoughtworks.com/en-us/radar
The following covers the unique aspects of TypeScript’s gradual typing, and how this can lead to types that are not accurate and can lead to bugs and runtime exceptions. We also cover ways to utilize the gradual feature of TypeScript to improve those types in an iterative fashion.