|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^2: Often Overlooked OO Programming Guidelinesby Aristotle (Chancellor) |
| on Dec 30, 2003 at 13:49 UTC ( #317686=note: print w/ replies, xml ) | Need Help?? |
|
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.
In Section
Meditations
|
|
||||||||||||||||||||