develooper Front page | perl.perl6.language | Postings from May 2005

Re: (1,(2,3),4)[2]

Thread Previous | Thread Next
From:
Juerd
Date:
May 27, 2005 07:47
Subject:
Re: (1,(2,3),4)[2]
Message ID:
20050527144653.GX31996@c4.convolution.nl
"TSa (Thomas SandlaƟ)" skribis 2005-05-27 15:44 (+0200):
> Could the ones who know it, enlighten me *why* it has to be so?
> What does it buy the newbie, average, expert Perl6 programmer?
> The answer "that's how Perl5 did it" is a good default, but
> never hindered @Larry to change things.

Because the alternative is to drop context.

If we drop context, we have to use an array where we now use a list. And
"list" automatically becomes an alias for "array" in our jargon. 

Also, arrays will then probably no longer have any referenceless
version, and always be objects and thus references. 

Then we lose the point for having different sigils, and everything gets
a dollar sign.

The end result is very different from Perl, and can no longer be thought
of even as derrived from Perl, in my opinion.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

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