The specification pattern is a very powerful, elegant technique to encapsulate business rules as part of Domain Driven Design (DDD). Yet, this pattern might be among one of the most undervalued — or even unknown — design patterns. This article describes what the specification pattern is, how it can be…