in reply to Re: Class::Interface -- isa() Considered Harmful
in thread Class::Interface -- isa() Considered Harmful
An interface is a contract. Having a method with a given name isn't. Keeping the conversation at the level of "will this object honor a given contract" (i.e., isa) is preferable to risking false positive based on method names. A baseball player and an airplane both know about "pitch", but the meanings are entirely different.
|
|---|