Talk:Criteria Pattern

Bug in implementation?
Surely  is a bug: if we don't check any result against   how can we say it meets both? — Preceding unsigned comment added by 60.241.96.32 (talk) 10:06, 22 December 2012 (UTC)

Invented by the individual that wrote the article?
I'd have to say this looks a lot like the http://en.wikipedia.org/wiki/Specification_pattern for which credit goes to Martin Fowler in 2004 (at least). — Preceding unsigned comment added by 60.241.96.32 (talk) 08:29, 23 December 2012 (UTC)

Was looking for a solution to this problem and found this article. Did some more research as I could not believe that this common problem has no big article covering it. Found out that Fowler calls this Specification Pattern. The code in the article mostly implements http://martinfowler.com/apsupp/spec.pdf compare page 12. The description is a subset of the Specification pattern. Maybe some experienced user can create a redicrect. — Preceding unsigned comment added by 109.192.57.59 (talk) 22:18, 29 September 2014 (UTC)
 * +1 for creating a redirect KSiimson (talk) 07:49, 13 September 2016 (UTC)