Blog

  • Jason Gorman’s Mock Abuse

    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.

    (more…)
  • Read the Book Domain Modelling Made Functional

    Read the Book Domain Modelling Made Functional

    Finally got around to reading Domain Modeling Made Functional, Tackle Software Complexity with Domain-Driven Design and F#, by Scott Wlaschin. Book basically covers:

    1. Domain Driven Design
    2. How to design with types
    3. How to implement 1 and 2 in code & refactor it.
    (more…)
  • Commentary on the ThoughtWorks Radar 2025

    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

    (more…)
  • TypeScript Types Lie & How to Improve Them

    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.

    (more…)