3 ms·
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 li
by mstipetic 3y 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.
- keep_reading 3y agoit's waiting for you {:type_check, "~> 0.13.3"}
- mstipetic 3y agoFeels like it's still in flux/research phase