4 ms·
If you use Dialyzer you get compile time type checking of for most operators too. The lack of operator overloading means that it can identify and trace variable
by brightball 10y ago
If you use Dialyzer you get compile time type checking of for most operators too. The lack of operator overloading means that it can identify and trace variable types based on the operators they are next to (variables next to a + sign must be a number, etc).
When I started learning I didn't understand why I had to use a different operator for string concat vs numerical addition and the Dialyzer talk from ElixirConf explained it very well.