G-7450: Never return a NULL value from a BOOLEAN function.
Major
Reliability, Testability
Reason
If a boolean function returns null
, the caller has do deal with it. This makes the usage cumbersome and more error-prone.
Example (bad)
1 2 3 4 5 6 7 |
|
Example (good)
1 2 3 4 5 6 7 |
|