3 ms·
You can use dialyzer to add type safety at compile time. It's not quite as good as Elm's compiler but it's much better than JS type checkers. http://learningel
by adambrod 11y ago
You can use dialyzer to add type safety at compile time. It's not quite as good as Elm's compiler but it's much better than JS type checkers.
http://learningelixir.joekain.com/elixir-type-safety/ http://learningelixir.joekain.com/elixir-type-safety/
- simoncion 11y agoDialyzer is good, but -as you mention- it has limits: http://erlang.org/pipermail/erlang-questions/2015-December/087072.html http://erlang.org/pipermail/erlang-questions/2015-December/0... You can't use Dialyzer to give you the more-or-less iron-clad type safety you get in C++ or Java, but you can use it to get warned about many type errors that might have otherwise gone unnoticed.