4 ms·
The Specification Pattern could be considered a software anti-pattern. https://en.m.wikipedia.org/wiki/Specification_pattern#Criticisms https://en.m.wikipedia.
by gregjor 7y ago
The Specification Pattern could be considered a software anti-pattern.
https://en.m.wikipedia.org/wiki/Specification_pattern#Criticisms https://en.m.wikipedia.org/wiki/Specification_pattern#Critic...
I think the author got it right with the simple and clear guard clauses, which don’t require useless patterns and unnecessary OOP for its own sake.