3 ms·
The notion that any non-boolean type has a "false value" is strange to me. There's some convenience in it, certainly, but I don't see it making sense on a more
by joe-collins 4y ago
The notion that any non-boolean type has a "false value" is strange to me. There's some convenience in it, certainly, but I don't see it making sense on a more basic level.
- imtringued 4y agoOne could define a BooleanConvertible interface with a toBoolean() method.