in reply to OO Perl Inheritance - Is it possible somehow?
However, that being said, composition is, these days, preferred over inheritance - hence inheritance per-se is, altho' extremely useful, not regarded as highly as it once was. To then have an inverse relationship between 2 inheriting classes is a worse idea since the coupling (introduced by the relationship itself) between the classes is exacerbated - leading to all sorts of problems e.g. maintenance, further down the line.
Just my 2 penn'orth
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OO Perl Inheritance - Is it possible somehow?
by kEndE (Novice) on Dec 17, 2008 at 17:03 UTC | |
by kEndE (Novice) on Dec 17, 2008 at 17:08 UTC |