As many other developers, I’ve been used to the fat service layer and the anemic domain model of the transaction script pattern. In that programming model, immutability is pretty much as rare as a Dodo. However, I have been investigating
Using the Memento pattern to solve thread safety issues
Introduction Author’s note: this is an article that I co-authoredwith a colleague, Robert van der Steen. It has also been published in our company newsletter. Many of the applications we write for our clients nowadays use the service paradigm: a
The Life Cycle Pattern
One of my current projects is responsible for delivering a library of functions that are used by several applications being built and maintained at our customer. One of those functions in particular is quite central to the operation of all