Ayende @ Rahien

It's a girl

The Illustrated Design Patterns Spotter Guide

What is the name of the pattern here?

  • QuoteGeneratorRule.Evaluate()
  • RoutingBase.Route()
  • AuthorizationRule.CheckAuthorization()

Comments

Pyotr
03/30/2008 11:32 PM by
Pyotr

Front Controller with Command Pattern?

Anon
03/31/2008 12:35 AM by
Anon

Smugness?

Adam V.
03/31/2008 12:49 AM by
Adam V.

The SomethingDoer-DoIt pattern?

Yuri
03/31/2008 06:15 AM by
Yuri

delegate?

Ian
03/31/2008 06:16 AM by
Ian

Pyotr, now you're just making stuff up.

Reshef
03/31/2008 06:57 AM by
Reshef

Looks like "Tell, don't ask" but this is more a principle than a pattern...

Robert
03/31/2008 07:56 AM by
Robert

It looks like a strategy for me

Terry
03/31/2008 08:51 AM by
Terry

This is the "Command Pattern", no? I seem to have at least one of these per project.

Ken Egozi
03/31/2008 10:33 AM by
Ken Egozi

I'm with Adam

Jeremy Wiebe
03/31/2008 01:58 PM by
Jeremy Wiebe
  • Singleton

  • Singleton

  • Singleton

;-)

Mohan Kumar
03/31/2008 07:56 PM by
Mohan Kumar

Chain of Responsibility

Dave Foley
03/31/2008 08:20 PM by
Dave Foley

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).

abe
04/02/2008 03:45 PM by
abe

HAHAHA! Smug pattern!

Comments have been closed on this topic.