"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Object Orientation should simply be seen as one tool in the toolbelt.
I think that it excels at a few things:
Of course that's not a comprehensive list, and some of those notions can be addressed without OO. But OO can provide a convenient means to those ends. For those reasons, I happen to like using CPAN and core modules that have an OO design better than ones that don't; they just seem to be easier to use once the OO notation is understood. But OO design can also be overkill, and may add to confusion if not well thought-out. But the same can be said of many tools. Use a screwdriver for screws, and a hammer for nails. And if you need to chop wood, a chainsaw is handy. But don't try to drive nails with chainsaws; you'll get hurt. Use OO when it makes sense, when it simplifies design, when it is helpful. Bag it when some other approach is less of a headache.
Dave In reply to Re: The world is not object oriented
by davido
|
|