in reply to Re: Re: Re: Test::Class & self-shunt pattern
in thread Documenting Methods/Subs
Hook::LexWrap is very cool certainly. I'd not thought of using it for hammering tests into tightly coupled code, but now you mention it, it's a bloody good idea.
I love Hook::LexWrap. It allows you to do so many evil things :-)
despite having written the Perl 6 RFC calling for Interface support, I'm becoming less and less convinced by them
I'm not too fond of interfaces either. I think they're the wrong solution to the problems of C++'s multiple inheritance implementation.
However, couldn't you just generate the missing methods at compile time (assuming there is some kind of introspection on your classes interfaces)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Test::Class & self-shunt pattern
by pdcawley (Hermit) on Jan 13, 2003 at 12:15 UTC |