3 ms·
I like Gleam over Javascript, but Elixir seems much more expressive to make use of OTP
by thiago_fm 2y ago
I like Gleam over Javascript, but Elixir seems much more expressive to make use of OTP
- __jonas 2y agoHm, see I like OTP and Elixir is nice, but I feel like the lack of types is holding me back a bit. Could you elaborate on how you find Elixir more expressive here?
- cess11 2y agoElixir has other ways to express constraints, e.g. pattern matching and guards. I can't judge if it's equivalent in principle to a type system like Gleam's but in practice I find it rather easy to work with and solve issues I use types for in e.g. Java.
- giraffe_lady 2y agoIt's not quite equivalent but I believe it's the basis of the type system being developed for erlang so definitely contains a lot of the same information.