Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by pajout (Curate)
on Oct 06, 2014 at 15:56 UTC ( #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
Node Status?
node history
Node Type: note [id://1102990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2020-05-26 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (150 votes). Check out past polls.

    Notices?