Hacker News new | ask | show | jobs
by conradfr 330 days ago
The lack of type hint for function parameters is definitely a productivity killer (in my case).
1 comments

There are type hints for function parameters. With some care and guards, Dialyzer can be somewhat helpful.

What actually drove me nuts was absence of guards and meaningful static analysis on return values. Even in my small but nontrivial personal codebase I had to debug mysterious data mismatches after every refactor. I ended up with a monad-like value checking before abandoning Elixir for my compiler.