develooper Front page | perl.perl6.language | Postings from April 2006

Re: A shorter long dot

Thread Previous | Thread Next
From:
Audrey Tang
Date:
April 29, 2006 20:51
Subject:
Re: A shorter long dot
Message ID:
4454342D.8020400@audreyt.org
Damian Conway wrote:
> Juerd wrote:
>>> and propose ".:" as a solution
> 
>>     $xyzzy.:foo();
>>     $fooz. :foo();
>>     $foo.  :foo();
> 
> This would make the enormous semantic difference between:
> 
>        foo. :bar()
> 
> and:
> 
>        foo  :bar()
> 
> depend on a visual difference of about four pixels. :-(

Good (and floating) point.  How about this:

$antler.bar;
$xyzzy.:bar;
$blah. .bar;
$foo.  .bar;

That is, introduce only the non-space-filled .: variant, and retain the
space-filled long dot.

Thanks,
Audrey



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