On Tue, Apr 24, 2001 at 12:23:24PM -0700, Austin Hastings wrote:
> Some of the objections have gone by, but what if you reverse the
> quotes?
> Make operator-in-quotes be a string operator (hell, make that true for
> the other ops, too)
>
> Perl 5 Perl 6
> --------------- ---------------
> -> .
> + +
> . "+"
> eq "=" or eq
> gt ">" or gt
If we go this route, we may as well just use 'cc'. Much less typing
(no chording), less confusing, analagous to 'eq' and
'gt'.
> Perl 5 Perl 6
> ----------------------------- ----------------------------
> $res = $var + $var2; $res = $var + $var2;
> $name = "This" . "that"; $name = "This" "+" "that";
> $name = "This" . $that; $name = "This" "+" "$that";
> print "Next is " . $i + 1; print "Next is " "+" $i + 1;
> $me = $name . getpwuid($<); $me = $name "+" getpwuid($<);
All those quotes make my eyes bleed.
Oh, not to seed the clouds or anything, but what about "+=" and ".="?
Any proposal will have to deal with those.
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
Do you have a map? Because I keep getting lost in your armpits.