Hacker News new | ask | show | jobs
by mstipetic 956 days ago
If elixir had types, I'd use them. Right now I'm using it for functional programming aspects, coherent design across libraries, liveview, and the amazing OTP library. Those to me are much more important.

With proper discipline you can get a lot of type-like behavior if you use structs to represent your data and ensure they're being passed in function args through pattern matching.

1 comments

it's waiting for you

{:type_check, "~> 0.13.3"}

Feels like it's still in flux/research phase