3 ms·
I'd like a null on the same order as NaN. You can use it, compute new values with it, call methods on it, but all results are a similar NaV (not-a-value?).
by akira2501 3y ago
I'd like a null on the same order as NaN. You can use it, compute new values with it, call methods on it, but all results are a similar NaV (not-a-value?).
- thfuran 3y agoThat sounds horrible. Throwing an npe is almost certainly better than just blithely continuing to process broken state.
- chuckadams 3y agoYou’d love objective C: all sends to a nil ref return nil.