Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl 6 - Operator renaming

by Roger (Parson)
on Sep 02, 2005 at 01:01 UTC ( #488521=note: print w/replies, xml ) Need Help??


in reply to Perl 6 - Operator renaming

Also, my favourite one, which every other language doesn't use, ->, is getting binned

????????? What about C and C++?

Replies are listed 'Best First'.
Re^2: Perl 6 - Operator renaming
by ghenry (Vicar) on Sep 02, 2005 at 07:38 UTC

    I am ignorant, and only know Perl, so I shouldn't have said anything else about other languages. Sorry.

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a yourname@perl.me.uk? Just ask!!!
      Is -> for derefencing also getting the axe? Or only for method calls? Seems sensible to keep $hashref->{'key'}, no?
        -> has been promoted to a Higher Purpose, namely attaching closures to control structures while passing parameters to those closures. But you don't need arrow for dereferencing hashes because in Perl 6 you can just say $hashref{'key'} (or even $hashref<key>, in the case of a literal key.)

        You can't really evaluate any of these decisions in isolation, but you have to look at how things ripple through the entire design. I am confident you won't miss -> in Perl 6 except in the Auld Lang Syne sense.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://488521]
help
Chatterbox?
[Corion]: Basically, something that decouples the HTTP parsing (+ determining whether to redirect, etc) from the IO
[Corion]: All clients I'm aware of don't do that but issue all IO themselves

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2016-12-07 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (130 votes). Check out past polls.