Moving the Dot

A long time ago at my Mom’s trendy fast-growing church, the preacher talked about Moving the Dot. This means, recalibrating your strategy every year, so that you’re always targeting (say) 23-yr-olds. That’s a different audience every year. It means you aim to please the people you want to join, not the people already there.  In … Read moreMoving the Dot

Microservices, Microbusinesses

To avoid duplication of effort, we can build software uniformly. Everything in one monolithic system or (if that gets unwieldy) in services that follow the same conventions, in the same language, developed with uniform processes, released at the same time, connecting to the same database. That may avoid duplication, but it doesn’t make great software. … Read moreMicroservices, Microbusinesses

Fun with Optional Typing: cheap mocking

For unit tests, it’s handy to mock out side-effecting functions so they don’t slow down tests.[1] Clojure has an easy way to do this: use with-redefs to override function definitions, and then any code within the with-redefs block uses those definitions instead. To verify the input of the side-effecting function, I can override it with … Read moreFun with Optional Typing: cheap mocking