On Thu, 2002-04-04 at 03:25, peter grotz wrote:
> > variable sigils ($@%) are now constant (ie you say
> >@array[2] instead of $array[2]), the concatenation  operator is
> changing
> >from '.' to ' - ' (note the whitespace), the member of operator '->' is
> 
> >changing to '.', and various other small things.
> 
> what at hell should these changes help us? Iīm using perl 5.6.1 now for
> a long time and I donīt wanna change my kind of writing my progs, only
> because some mastermind thinks that he must change the good old!!
> 
> Peter

You don't have to.  There are still people using Perl 4.  There will be
a command line option in Perl 6 that will tell it to expect Perl 5 code
(but you don't get any of the neat new syntax).  As for why Larry is
changing things on use, well, he wants it that way and it is his
language.  If you don't like then you can always fork the code base. 
One guy is already doing this: do a search for Rindolf on google.  I
really, really, really dislike the change from '.' to ' _ '.  I don't
think I would mind it so much if it weren't for the fact that I will
most likely have typos like:

print "this prints 0:" - $dbh->errstr - " doesn't it?\n";

of course we are also getting new stuff like this to make up for it:

print "this prints the error $($dbh->errstr) doesn't it?\n";

But I can see why '.' is taking '->''s place: it makes Perl more in line
with all of the other OO languages.  Now you can scoff all you like at
OO (I know I do all of them time), but one of the reasons Perl is so
easy to use is that it looks like other languages.  I was a ksh/ANSI C
programmer before I came to Perl so I could pick it up like second
nature.  This change will help thousands of people who are lost in the
Java/C++/C# wilderness to find there way to the nice comfy home of
Perl.  It is always hard to take on refugees, but the alternative is to
leave them in the cold starving, and frankly I think that is wrong.

 
-- 
Today is Prickle-Prickle the 21st day of Discord in the YOLD 3168
You are what you see.

Missile Address: 33:48:3.521N  84:23:34.786W


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to