2018-06-05 10:03 GMT+02:00 Viacheslav Usov <email@example.com>:
> On Tue, Jun 5, 2018 at 3:35 AM, dyngeccetor8 <firstname.lastname@example.org>
>> Current behavior of "and" and "or" operators is equivalent to following
>> Lua-like functions.
> The behaviour is documented in section 3.4.5, and the essential part of it
> is the "short-circuit evaluation; that is, the second operand is evaluated
> only if necessary". Your explanation is far more complicated than that and
> is technically incomplete and/or inconsistent anyway.
The OP was playing an intellectual game (as is clear from his remark
"I should add that I do understand what's happening here.") The rest
of us don't want to play along, and would rather discuss the
curiosities of 'and' and 'or'. So (sorry, Sam) do I.
So with the thread well and truly hijacked, here is my 2¢'s worth.