3 ms·
I love Elixir, and came from Ruby. I do find it hard to describe to people why I like it more it more. There is no one thing that is a killer feature to me.
by amorphid 10y ago
I love Elixir, and came from Ruby. I do find it hard to describe to people why I like it more it more. There is no one thing that is a killer feature to me. I do not miss inheritance at all.
- brightball 10y agoIMO, Elixir appeals to developers who have experienced the challenges of the established code bases because you immediately realize the long term benefits of the way it's designed. I've noticed a pattern at least that it seems to appeal to people with more experience because it's easier to recognize what the little details bring.
- regulation_d 10y agoPattern matching, to me, is the killer feature. It allows me to write so many fewer if statements, which to me is a big boon.
- amorphid 10y agoHere's a list of things Elixir things I love: - pattern matching - immutable data - built-in supervision tree - async message passing w/ mailboxes - networking modules - much of Elixir is written in Elixir Here's stuff I'd like to see in the standard library (which may come over time anyway): - Better time/calendar options (I still like using Timex) - Rational numbers - Ruby's BigDecimal in Elixir - Dialyzer for Elixir - No need to mess w/ Erlang data types (looking at you charlists) - Better semantics for process registry - Documentation on parallel testing options
- _asummers 10y agoAs far as Dialyzer, we use the dialyxir project, and it behaves well enough. Depending on how macro heavy your code gets, it gives up earlier than it should, but you can still get it to flag you for doing bad things when it gets down to modules calling modules. Combined with lint rules around making sure stuff has @spec, it catches a lot of things.
- amorphid 10y agoI use dialyxir, too. Mostly I was referring to wanting dialyzer to output Elixir syntax, not Erlang.