develooper Front page | perl.perl6.language | Postings from April 2002

Re: Exegesis 4

Thread Previous | Thread Next
From:
John Siracusa
Date:
April 3, 2002 08:35
Subject:
Re: Exegesis 4
Message ID:
B8D0992B.E7CD%siracusa@mindspring.com
On 4/3/02 3:44 AM, Damian Conway wrote:
> Larry indicated to me that blockless declarations of methods and subs
> would be illegal.

What's the motivation for this?  It seems to me that pre-declarations would
be just as nice (or nicer) as:

    module Alpha;
    package Beta;
    method Gamma::delta(Gamma $self: $d1, $d2);
    sub epsilon;

rather than with yaddablocks:

    module Alpha {...}
    package Beta {...}
    method Gamma::delta(Gamma $self: $d1, $d2) {...}
    sub epsilon() {...}

-John


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