Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pattern Matching makes it easy to write small, understandable code

The Concurrency Model is simple to the point where creating a whole pubsub system to handle events, push out notifications, and handles backpressure can be done in < 100 lines with no additional datastores or frameworks.

Finally the pipe operator is like C#'s LINQ statements but with so much more power and flexibility, hard to explain but I highly recommend cracking open that book on your nightstand!



The Elixir pipe operator |> is the equivalent of the Clojure thread first macro ->, right?



Which is to say it's equivalent to function composition.


Yes it's syntactic sugar and for me personally harder to read but YMMV.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: