Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://137833]
help
Chatterbox?
[holli]: is there anybody out there?
[shmem]: the world is full of people - out there...
[holli]: are you sure? or are they mere prjections of my hallucinating mind?
shmem feels uneasy over his guess of the tune for silent night, perl 6 night
[holli]: https://www. youtube.com/watch? v=6H_9QEc6vA8

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-09-22 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (269 votes). Check out past polls.

    Notices?