Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by chacham (Prior)
on Oct 07, 2014 at 03:05 UTC ( [id://1103050]=note: print w/replies, xml ) Need Help??


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

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://1103050]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-24 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found