On 25 May 2001, Chip Turner wrote:

> Code is cleaner if you can say "the nth parameter is
> derived from the base class Foo::Bar" as opposed to "the
> nth parameter is an object that must support the baz,
> blah, foop, and fitz methods that accept parameters in
> the following way..."

you can certainly say "the nth parameter implements
interface Foo::Bar", and provide Foo/Bar.pod that describes
the interface, and get the exact same benefit.

i question the wisdom of relying on a code-level inheritance
usage to communicate class relationships. isn't that why we
use class diagrams and pod?

Reply via email to