Luke Palmer wrote:
Well, it'll still get that bad rap because it's as syntactically
flexible as ever (moreso even), so people have all the freedom they want
to write code ugly as sin.
Anyway, if you want to see more Perl 6 syntax, why don't you post some
"how do I"s to the list, and I'll reply with
Stéphane Payrard skribis 2005-01-07 21:23 (+0100):
> > my $s := $subjet;
> > my $c := $complement;
> That's what I wanted to avoid.
Why? Do you expect to use lots of one letter aliases?
I think it's one of the most effective ways to kill readability.
Juerd
StÃphane Payrard writes:
> > canon( subjet => $mysub, complement => $mycomp );
> > canon( :subjet($mysub) :complement($mycomp) );
>
> I suppose you meant
>
> canon( :subjet($mysub), :complement($mycomp) );
The comma is optional between those kinds of pairs.
> btw, are the parenthes
On Fri, Jan 07, 2005 at 10:28:32AM -0800, Larry Wall wrote:
> On Thu, Jan 06, 2005 at 11:07:47PM +0100, Stéphane Payrard wrote:
> : To get an huffmanized name and a clear one, I would like some support
> syntax:
> :
> : sub canon( $subjet as $s , $complement as $c ) {
> : # code with lots
On Thu, Jan 06, 2005 at 11:07:47PM +0100, Stéphane Payrard wrote:
: To get an huffmanized name and a clear one, I would like some support syntax:
:
: sub canon( $subjet as $s , $complement as $c ) {
: # code with lots of $s and $s
: }
Aliasing can currently be done with the binding oper