News for hackers. Stuff that matters.
Re:Programming in Elixir with the Phoenix Framework by mononcqc on Sunday August 17, 2014 @12:54PM (#8189779)
What do you mean by 'improves on Erlang's programming model'?

I've seen it improves on some tools and a fair deal of libraries, but I don't exactly see how it improves on the programming model itself?

Re:Programming in Elixir with the Phoenix Framework by alco on Sunday August 17, 2014 @07:21PM (#8190817)
I realize now it sounds as if Erlang got something wrong and Elixir got it right instead. That's not what I wanted to say.

Elixir semantics is very close to Erlang's, but it also has things beyond what Erlang can offer as easily: macros, protocols, comprehensions with any kind of enumerable as a generator.

Of course, the core facilities provided by the runtime system are left unchanged: concurrency primitives, functional semantics, distribution, error handling (Elixir has slightly different conventions, but the idea of "letting it crash" remains). And in OTP land there are quite a few additions that simply make OTP more "elixirish" (like getting a lazy stream of events from GenEvent).