The entire concept of "falsey" makes my teeth ache.
Non-boolean expressions in a boolean context is asking for a runtime error.
And yet, it doesn't, in strongly-typed languages that define which values are "false" and "true" for types such as strings, sets, dictionaries, and yes, even numbers.
The entire concept of "falsey" makes my teeth ache.
Non-boolean expressions in a boolean context is asking for a runtime error.