|
|
| XP is just a number | |
| PerlMonks |
Re^3: To use or not to use OO Perlby FoxtrotUniform (Prior) |
| on Oct 25, 2004 at 18:27 UTC ( #402284=note: print w/ replies, xml ) | Need Help?? |
|
Anyhow, OO is fine -- but don't think it's about reuse or maintainability or massive inheritance hierachies or anything like that. It's mostly about state and clean interfaces -- or, at least -- that's how it SHOULD be. The number of real world problems correctly modelled by massive inheritance trees are few and far between. If you ask me, OO is a method for modelling problems that are based on interactions between Things. Not all problems are easily or properly modelled this way. When used for suitable problems, object-oriented code can be stunningly elegant; when used for unsuitable problems, it's usually a steaming heap of tilly argued this point better and more completely: The world is not object oriented. --
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||