in reply to Really Writing Object Oriented Perl
The one abuse-of-objects practice that I've seen really cause problems is "the Blob anti-pattern": one of the few things I really like about "Objects" is they way they handle encapsulation, and if you've got everything shoveled into one namespace, it hardly matters if you call that namespace an "object" or a "bloated script".
In general, I've been coming to the conclusion that having a nice barrage of automated tests is the key thing: compared to that, every other issue (choice of language; design patterns; OOP/proceedural; inside-out, upside-down or sideways, etc) is nearly insignificant.
(Though I don't think "Test First" programming isn't strictly necessary, "Test Soon" is good enough.)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Really Writing Object Oriented Perl
by agianni (Hermit) on Jun 02, 2007 at 13:20 UTC | |
by doom (Deacon) on Jun 02, 2007 at 22:35 UTC | |
by Joost (Canon) on Jun 02, 2007 at 22:57 UTC | |
by herveus (Prior) on Jun 04, 2007 at 11:27 UTC | |
by john_oshea (Priest) on Jun 02, 2007 at 20:24 UTC |