A Pattern A Day: Spesification

time to read 1 min | 48 words

Via MattBerther, who also gives a great example of need and usage.

The Specification pattern seems like a very good idea.

Matt's example is for in memory, but it's easily adapted to file / database, etc.