in reply to Re^3: interface.pm explained
in thread interface.pm explained
The Child class should not know or care about where Base gets its methods.
Then there is problematic behavior in Class::Trait. Not sure if this is exactly a bug or a design contention, but the following is inconsistent with your point above. Quoting the docs:
IMHO the default behavior for conflicts (of any sort) should be a fatal compile time error. If you don't do this you lose a significant advantage of protocols (using the more theoretic term here to distance from Java interfaces). If you think that this is wrong, at least make the behavior consistent. ("You" ne you personally, necessarily; I realize somebody else is maintaining the module now.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: interface.pm explained
by Ovid (Cardinal) on Aug 02, 2004 at 19:38 UTC |