develooper Front page | perl.perl5.porters | Postings from December 2017

Re: Urgent subroutine signatures problems

Thread Previous | Thread Next
From:
Sawyer X
Date:
December 23, 2017 16:39
Subject:
Re: Urgent subroutine signatures problems
Message ID:
342a68f5-c3c5-b464-1b32-e31a466575b6@gmail.com


On 12/23/2017 06:34 PM, Zefram wrote:
> Sawyer X wrote:
>> If so, how would that be "significant extra compilation"?
> "complication", not "compilation".

Muscle memory when typing.

> That clause was conditional on
> the situation in which we have non-core attributes that affect body
> compilation, in which case your assumption that we have a list of such
> attributes would necessarily be false.  We can only have a complete
> list if we rule out forever allowing non-core attributes to affect
> body compilation.

We can document that every compilation-affecting subroutine attribute
should be used before. Another way is to add a mechanism to register an
attribute as "requiring compilation," allowing us to croak about them if
we see them after signatures. Not an optimal solution, to say the least.

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