Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: (Ovid) Re: Thoughts on Perl6 - Love it? Hate it?

by impossiblerobot (Deacon)
on Jan 11, 2002 at 00:27 UTC ( #137833=note: print w/replies, xml ) Need Help??

in reply to (Ovid) Re: Thoughts on Perl6 - Love it? Hate it?
in thread Thoughts on Perl6 - Love it? Hate it?

I fear Perl 6, as I fear all things new. :-)

The variable prefix notation will be based on the variable type and not on the access method:
@foo[ $bar ]; # was $foo[ $bar ]; %foo{ $bar }; # was $foo{ $bar };
Programmers routinely get those wrong when they're first starting with Perl. Now they'll get them right.
I won't get it right (at least for a while). I bought into the whole idea that the prefix showed what variable type is being accessed (though it does get a little fuzzy when dealing with references). It may help new Perl programmers, though.

More compiler hints and optional strong typing! This is going to overcome one of the biggest objections to Perl!
And add one of my strongest objections to virtually every other language but Perl. I realize that it will be optional, but so (in theory, at least) is 'use strict'.

Actually, I'm looking forward to Perl 6. I've always hated the arrow syntax for Perl's object-oriented features, and I'm willing to give up the '.' concatenation operator to get rid of it. :-)

Impossible Robot

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://137833]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2020-11-24 10:20 GMT
Find Nodes?
    Voting Booth?

    No recent polls found