in reply to Re^3: OO in Perl 5: still inadequate
in thread OO in Perl 5: still inadequate
Not every class is subclassable (although it would be nice if they were), knowledgable or otherwise. Some people do odd things like blessing an object into a hard-coded class (so you don't get to decide which class the object ends up in), have some factory-like behavior going on where the object ends up in a particular class, and lots of other things. Lots of code I see doesn't pass the null-subclass test.
If you're doing weird wrapper or adapter things, you really aren't subclassing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: OO in Perl 5: still inadequate
by fergal (Chaplain) on Jan 21, 2006 at 14:15 UTC | |
by brian_d_foy (Abbot) on Jan 21, 2006 at 17:30 UTC |