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.