in reply to Re^3: What operator should perl5porters use for safe dereferencing?
in thread What operator should perl5porters use for safe dereferencing?
The main problem I have with ~> is the change in shift key. The ~ is on the left side of the keyboard (at least my US-style keyboard), so touch typists will use the right shift key. > is on the right, thus the use of the left shift key. tchrist's "Twister" moniker comes in to play here - try typing it out a few times to see how easy/difficult it is. Maybe for hunt-and-peck typists there won't be much difference. For touch typists, we could come up with an alternative that was less discordant (such as ->>).
The fact that a quick glance at code wouldn't always tell the difference between -> and ~> is, in my opinion, both a positive and a negative. Positive in that they are so tightly related and often that's good enough, but negative in having to mentally switch gears to actually pay attention and notice it when it matters.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: What operator should perl5porters use for safe dereferencing?
by Ralesk (Pilgrim) on May 30, 2012 at 23:08 UTC | |
by Anonymous Monk on May 30, 2012 at 23:33 UTC | |
Re^5: What operator should perl5porters use for safe dereferencing?
by DrHyde (Prior) on May 31, 2012 at 10:18 UTC | |
by Ralesk (Pilgrim) on May 31, 2012 at 13:49 UTC | |
by DrHyde (Prior) on Jun 01, 2012 at 11:46 UTC | |
Re^5: What operator should perl5porters use for safe dereferencing?
by Boldra (Deacon) on May 31, 2012 at 07:04 UTC | |
Re: What operator should perl5porters use for safe dereferencing?
by jonadab (Parson) on Jun 13, 2012 at 05:07 UTC |