Front page | perl.perl5.porters |
Postings from November 2017
Re: square signatures
Thread Previous
|
Thread Next
From:
demerphq
Date:
November 15, 2017 12:23
Subject:
Re: square signatures
Message ID:
CANgJU+XaeR4N5pHNT_rDxnn=zXYrpPnKqKSNgdP=uQ_6_X386A@mail.gmail.com
On 14 November 2017 at 21:57, Zefram <zefram@fysh.org> wrote:
> Leon Timmermans wrote:
>> I quite frankly don't care about
>>the advantages for prototypes, they're clearly the wrong thing to optimize
>>for.
>
> Prototypes are not the motivation for this proposal; re-enabling their
> short syntax is just a bonus. The motivation is to make signatures and
> prototypes more distinct. In allocating the delimiter characters, we're
> constrained by the fact that prototypes got there first and bagged parens.
Can we make the prototype part be in square brackets? Possibly version
controlled so that old code keeps working, but new code always treats
the parens as being signature definitions?
Yves
--
perl -Mre=debug -e "/just|another|perl|hacker/"
Thread Previous
|
Thread Next