Erik Steven Harrison wrote:

> I know that the property syntax is pseudo established, 
> but I'm beggining to become a bit jaded about all the 
> built in properties were building. What about good ol' 
> aliases?
> 
> sub hidden (str $name, int $force := $override) {...}

I'm not keen on it because it will be hard to explain
(or detect) the difference between that and:

   sub hidden (str $name, int $force //= $override) {...}

What I most like about the C<is> syntax is (like methods in
OO Perl), it associates a meaningful *name* with each
deviation from standard behaviour.

I find:

   sub hidden (str $name, int $force is aka($override)) {...}

*much* more readable, since I can read it in English.

Damian






Reply via email to