in reply to Re^2: Test::Class & self-shunt pattern
in thread Documenting Methods/Subs
Method selecters are cool, and interfaces would be yet another solution.I happen to know there's someone working on method selectors in Perl 5. And, despite having written the Perl 6 RFC calling for Interface support, I'm becoming less and less convinced by them. Again, in a self shunt context, if you declare that a test case implements the 'foo' interface then you're obliged to implement all the methods in the 'foo' signature if you want the thing to compile, which can be somewhat painful, especially when you're adding the nth interface to your test class.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Test::Class & self-shunt pattern
by adrianh (Chancellor) on Jan 13, 2003 at 12:09 UTC | |
by pdcawley (Hermit) on Jan 13, 2003 at 12:15 UTC |