develooper Front page | perl.bootstrap | Postings from July 2000

Re: y/rple/yma/ (was: LALR (was Re: Working Group Proposal))

Tom Christiansen
July 24, 2000 17:04
Re: y/rple/yma/ (was: LALR (was Re: Working Group Proposal))
Message ID:
>On Mon, Jul 24, 2000 at 08:49:14PM +0100, Tim Bunce wrote:
>> [Larry]'s also said that it's likely that dots will be allowed for indirect
>> object notation:
>> 	$foo.method();
>> same as
>> 	$foo->method();

>That is actually one suggestion I dislike. People refered to this as aligning
>with other languages. But if you consider references like C/C++ pointers then
>we are already aligned with them.

One could even make the dollar signs optional save for interpolative
uses.  This is, after all, the biggest complaint about Perl.  "It's
ugly cuzza da dollars!" In fact, one could as from perl4 to perl5,
rethink the entire reference versus referent issue.  Python and Java
eschew non-references, making some things easier, some harder.  I remember
Larry saying how hard he thought about breaking the @foo and $foo thing
for perl5, making it all $, but relented.

--tom Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About