It's so irritating that something as simple as logical and/or isn't the same in different languages :/
In some languages 0 or 5 is 1, in others 0 or 5 is 5
It's so irritating that something as simple as logical and/or isn't the same in different languages :/
In some languages 0 or 5 is 1, in others 0 or 5 is 5
@eniko Sorry "I am TOO OLD SKOOL" ( and mostly C/C++/ASM only ) .. WHAT LANGUAGE on Earth has a 0 || 5 = 5 ??! 😱
@gilesgoat @eniko many languages say that "a or b" is the first "truthy" of the two expressions. What "falsy/truthy" is, is a different can of worms.