Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Often Overlooked OO Programming Guidelines

by Aristotle (Chancellor)
on Dec 30, 2003 at 13:49 UTC ( #317686=note: print w/replies, xml ) Need Help??


in reply to Re: Often Overlooked OO Programming Guidelines
in thread Often Overlooked OO Programming Guidelines

Eh? The constructor in Acme::Playmate could have been called get_playmate_data and returned an unblessed hash? The semantics of using the module would have been exactly the same. I don't see how that warrants OO in any manner. Besides the constructor being a constructor there's nothing OO about even the existing interface at all.

Makeshifts last the longest.

  • Comment on Re^2: Often Overlooked OO Programming Guidelines