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

Re^4: What operator should perl5porters use for safe dereferencing?

by perl-diddler (Hermit)
on Jun 28, 2012 at 20:58 UTC ( #978999=note: print w/ replies, xml ) Need Help??


in reply to Re^3: What operator should perl5porters use for safe dereferencing?
in thread What operator should perl5porters use for safe dereferencing?

'-' is used in numeric subtraction; '>' is used in numeric greater than; both are used in numeric comparison <->.
You are comparing apples & applets -- app isn't a root word so trying to compare mixes of the words with letter substitutions is fruitless.

"->" is one token. "?" is one token.

to disassemble -> into components doesn't make sense anymore than disassembling words into letters and having re-use of the letters mean something related.

I'm practicing standard grammatical rules taking a "world" the ->", meaning something being pointed to, -- using it's standard meaning, and making a compound word by combining it with "?" -- a standard operator meaning only do the next thing if the left-operand is true, else do a false case. I'm not changing the meanings of any of the operators of subdividing operators, I combining whole operators and using their meanings as they are used in perl.

? evaluates the left operand, and, if it is true (i.e. !0 && ! undef), then do the action to the right, namely using the defined base, give me the offset @ "->offset".

In the false case, it is a constant- "undef", so it doesn't need to be stated.

You are trying to take the letters that compose words and mix and match them with other letters and expecting them to make sense on some level related to their original usage. That is absurd.


Comment on Re^4: What operator should perl5porters use for safe dereferencing?
Re^5: What operator should perl5porters use for safe dereferencing?
by BrowserUk (Pope) on Jun 28, 2012 at 21:45 UTC
    trying to compare mixes of the words with letter substitutions is fruitless.

    If you had read the post to which I was responding, you'd have realised that that is exactly the point I was making!

    Did you actually read all the way down to the third line of my post where I said:

    (You cannot break multi-character operators into bits to try and make sense of them!)

    So before you jump to conclusions, read not just one post and then respond, but also the context in which that post was made.

    That is absurd.

    What I did -- emphasis the illogical through parody -- was eminently logical.

    What you did -- take a post out-of-context, and build an argument around your own misinterpretation of it -- was absurd.

    But don't feel too bad about it; you are not the first, nor will you be the last to do so.

    The only thing you should watch out for, is the temptation to compound your mistake, by trying to defend it.

    Good will!


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Forgive me if I was mistaken, but I thought you were responding to my having combined the whole operator of "->" with the whole operator "?"... I didn't break apart any operators that I saw. Were you not addressing me? Maybe that was my mistake.

      Sorry if you were addressing someone else...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2014-09-18 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (108 votes), past polls