The Illustrated Design Patterns Spotter Guide
time to read 1 min | 22 words
What is the name of the pattern here?
- QuoteGeneratorRule.Evaluate()
- RoutingBase.Route()
- AuthorizationRule.CheckAuthorization()
What is the name of the pattern here?
No future posts left, oh my!
Comments
Front Controller with Command Pattern?
Smugness?
The SomethingDoer-DoIt pattern?
delegate?
Pyotr, now you're just making stuff up.
Looks like "Tell, don't ask" but this is more a principle than a pattern...
It looks like a strategy for me
This is the "Command Pattern", no? I seem to have at least one of these per project.
Terry,
Yes, absolutely.
I'm with Adam
Singleton
Singleton
Singleton
;-)
Strategy pattern.
Chain of Responsibility
I agree with Doug, especially if the concrete types are resolved based on some other business rules (i.e. a different strategy is used based on some different criteria).
Singleton!!!!!
HAHAHA! Smug pattern!
Comment preview