3 ms·
Just looked at elixer and it seems really cool, but I'd like it better, i think, if it had typing like golang interfaces. (I'm assuming the comparisons to ruby
by ljw1001 11y ago
Just looked at elixer and it seems really cool, but I'd like it better, i think, if it had typing like golang interfaces.
(I'm assuming the comparisons to ruby mean that it is very loosely typed, but I could be wrong). I wouldn't want to build a highly distributed app without a bunch of compiler help.
- matt_o 11y agoElixir has _something_ similar: Behaviors - http://elixir-lang.org/getting-started/typespecs-and-behaviours.html http://elixir-lang.org/getting-started/typespecs-and-behavio... While this isn't exactly what you like, I thought I'd throw it out there because I find it a fair substitute, especially when paired with Dialyzer - a static code analysis tool: http://erlang.org/doc/man/dialyzer.html http://erlang.org/doc/man/dialyzer.html