Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: Regrettable module names

by brian_d_foy (Abbot)
on Jul 05, 2004 at 22:02 UTC ( #371978=note: print w/replies, xml ) Need Help??

in reply to Re: Regrettable module names
in thread Regrettable module names

I don't think that Class::Null is really the Null design pattern, despite what it says. The pattern is for a stand-in collaborator who doesn't do anything, not something you add to a module to handle calls to undefined methods. Your module shouldn't ever have to know it is using a null object.
brian d foy <>

Replies are listed 'Best First'.
Re^3: Regrettable module names
by tilly (Archbishop) on Jul 05, 2004 at 22:13 UTC
    I'd agree but I hate arguing over terminology. If someone cares enough about design patterns to have an opinion on what pattern they're using, I'm unlikely care enough to correct them. (I'm not a big fan of the design patterns movement. Shoot me.)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://371978]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2016-10-22 00:17 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.