DEV Community

loading...

Discussion on: Language Features: Best and Worst

Collapse
idanarye profile image
Idan Arye

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.

Thread Thread
isaacrstor profile image
Isaac Yonemoto

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

Thread Thread
idanarye profile image
Idan Arye

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

Forem Open with the Forem app