News for hackers. Stuff that matters.
Re:Switching to Elixir by mstipetic on Friday November 10, 2023 @09:46AM (#38219466)
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.

Re:Switching to Elixir by keep_reading on Friday November 10, 2023 @10:11AM (#38219803)
it's waiting for you

{:type_check, "~> 0.13.3"}

Re:Switching to Elixir by mstipetic on Friday November 10, 2023 @11:48AM (#38221110)
Feels like it's still in flux/research phase