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. ...
 

Erlang and Elixir are dynamically typed languages. The million dollar mistake does not apply to dynamically typed languages. Guaranteeing that a variable cannot be null is not very helpful when you can't guarantee that variable's type.

You can definitely guarantee variable's types in Erlang and Elixir.

By doing explicit checks. How do these differ from null checks?

code of conduct - report abuse