There was a time when this blog was about software development. Nowadays it just seems to be a lot of whining. So it is time to change that. I actually did write a post about the Specification pattern detailed in Eric Evan's book Domain-Driven Design. But formatting the code examples for this blog turned out to be more of a hassle than I could deal with; so instead you'll find it in the latest issue of PNEHM!, Citerus' newsletter on software development: Specification Pattern as a Refactoring Tool.
The Specification pattern is nothing revolutionary, but it offers a nice way of encapsulating business rule logic that tend to be sprinkled all over your average business application. It is useful as a modeling and implementation concept when building systems from scratch, but can also be a powerful refactoring tool. The article will show you how.
And while you're at it, make sure to read the other articles in this issue of PNEHM!. You'll find interviews with both Ken Schwaber and Jerry Weinberg as well as a piece on Grails (in Swedish). Some people say it's our best issue ever.
P.S. Don't miss our classes on Domain-Driven Design and Strategic Design this spring.