Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: What operator should perl5porters use for safe dereferencing?

by LanX (Chancellor)
on Jun 07, 2012 at 21:45 UTC ( #975055=note: print w/replies, xml ) Need Help??

in reply to What operator should perl5porters use for safe dereferencing?

after some days of thoughts an digestion I'd really prefer ->>

Not only because it's easy to type, it's close enough to -> be easily read and understood as an extension for a special case

This follows the same approach like == and === in JS, where repetition indicates a specialization.

~> looks nice at first glance, but is too easy to be overlooked in some fonts and at the moment I have to deal with too many low level Perl users who wouldn't spot it.

?-> or &-> might have a derivable logic, but look too much like line noise.

And it's not very consequent to allow &-> if we are sure that there will never be a |-> or !->.

Cheers Rolf

Replies are listed 'Best First'.
Re^2: What operator should perl5porters use for safe dereferencing?
by trwww (Priest) on Jun 08, 2012 at 17:56 UTC
    I voted on ~> but now I agree with you, ->>
      I voted on ~> ...

      Unfortunately, me too.

      Cheers Rolf

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975055]
[Discipulus]: the winner is..
[Discipulus]: Mr haukex from Germany! thanks a lot to the other parteciapant our dear Mr afoken.. ;=)
[Discipulus]: no, seriously thanks both, i missed 'scientist' and 'floating point' and the resarche was imposible..
Discipulus go to his cell to bookmark this
[haukex]: Well to be honest I just did a super search for "every should know floating" ;-)
[Discipulus]: floating was the keyword and.. to use supersearch is plus sign not a (plus) sin

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-06-26 20:54 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (594 votes). Check out past polls.