4 ms·
Here's a list of things Elixir things I love: - pattern matching - immutable data - built-in supervision tree - async message passing w/ mailboxes - networ
by amorphid 10y ago
Here'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.