3 ms·
Types in Elixir are on the roadmap [1] but I don't think there's concrete ETA For now you have typespecs and dialyzer that tries to infer types and detect inc
by pawelduda 3y ago
Types in Elixir are on the roadmap [1] but
I don't think there's concrete ETA
For now you have typespecs and dialyzer that tries to infer types and detect incorrect assumptions in code but I found it cumbersome to work with. Testing in Elixir is first class so I prefer that for now. You get doctests (documentation that is also a runnable test), like in Python, which I find very useful when looking at some package source.
[1] https://youtu.be/giYbq4HmfGA?si=BjNyOc5cjWWA7ER6 https://youtu.be/giYbq4HmfGA?si=BjNyOc5cjWWA7ER6