re: Language Features: Best and Worst VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I find the Erlang/Elixir treatment of null to be acceptable. It (nil) is an atom (as are false, and true), definitely not conflatable with zero. ...
 

Maybe something similar to this is the best approach?

Continuing with my idea of making all data N-dimensional matrices, nil or null would just be an empty matrix. Then a statement like if ([]) wouldn't make any sense because an empty matrix shouldn't be truthy or falsy. It should throw a compiler error.

code of conduct - report abuse