Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: What is your favourite meta-syntactic variable name?

by pajout (Curate)
on Oct 06, 2014 at 15:56 UTC ( [id://1102990]=note: print w/replies, xml ) Need Help??


in reply to What is your favourite meta-syntactic variable name?

Now it seems that 32 % of respondents like $other :)
  • Comment on Re: What is your favourite meta-syntactic variable name?

Replies are listed 'Best First'.
Re^2: What is your favourite meta-syntactic variable name?
by chacham (Prior) on Oct 07, 2014 at 03:05 UTC

    it seems that 32 % of respondents like $other

    Methinks you read other wrong. Other is read "the inside or". Compare with "the outside or" or thore.

    Whereas exclusive and non-exclusive ors differentiate between single and double evaluation, allowing for short circuiting in some applications, inside and outside ors explain nested ors.

    For example:

    if (($the == 42 or $other == 17) or ($inside == 1742 or $or == 4217)) {$somethingelse = 'entirely'}

    Although poorly written, this code can be explained as: If the the variable or the other variable from the first inside or, or the inside variable inside the other side of the outside or, or the other or inside the other side of the outside or equal their respective numbers, the code sets something else, entirely.

    However, we can take a different approach with other and thore: If the the or the other other, or the thore's other inside or the other or equal their respective numbers, the code sets something else, entirely.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-18 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found