develooper Front page | perl.perl6.internals | Postings from August 2004

Re: Something to ponder

Thread Previous | Thread Next
From:
Aaron Sherman
Date:
August 18, 2004 08:33
Subject:
Re: Something to ponder
Message ID:
1092843199.16672.98.camel@pps
On Wed, 2004-08-18 at 10:06, Dan Sugalski wrote:

> Yep, though the error dispatch case is definitely the easy one. Where 
> it gets fun is:
> 
>     sub foo :come_from('bar', int) {

You've created an MMD come-from....

Uh... that hurts.

I think using it for type-based, switch-like dispatch would be as far as
I'd be willing to use it. Beyond that it just starts to turn into spooky
action-at-a-distance.

-- 
☎ 781-324-3772
✉ ajs@ajs.com
☷ http://www.ajs.com/~ajs


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About