Live data from Hacker News

Elixir is for programmers

blog.pluralsight.com

1–10 of 53 posts

Re: Elixir is for programmers

#2
I really like Elixir.

Not only does it have a clean, pleasant syntax, macros, but it has all the good parts from Erlang, namely:

* BEAM VM (isolated heaps, very well tuned scheduler, concurrent garbage collection)

* Pattern matching, once you've tried it, it is hard to go back.

* Ability to call Erlang code

BEAM VM is really a secret gem and many didn't get a chance to play with it because they didn't like Erlang's syntax (personally, I do like Erlang's syntax, but I think many don't). Well there is little excuse now.

If you like DSLs and macros (yes, yes, I know it makes many people scared) this you can do neat stuff like these projects:

https://github.com/elixir-lang/ecto -- DSL to query databases

Re: Elixir is for programmers

#3
It's interesting to see Elixir mentioned more and more. I don't _quite_ see the use-case for it, but I'm so content with Erlang I'm almost surely not the audience the language targets. Will be fun to see if Elixir builds its own community or if Elixir folks slowly filter into the Erlang community as a whole.

- - -

EDIT

It occurs to me that the HN crowd might like Lisp Flavored Erlang: http://lfe.github.io/ It's a lisp-2 written by Robert Virding, co-creator of Erlang, and is backed by a great group of folks.

Re: Elixir is for programmers

#6

It's interesting to see Elixir mentioned more and more. I don't _quite_ see the use-case for it, but I'm so content with Erlang I'm almost surely not the audience the language targets. Will be fun to see if Elixir builds its own community or if Elixir folks slowly filter into the Erlang community as a whole. - - - EDIT It occurs to me that the HN crowd might like Lisp Flavored Erlang: http://lfe.github.io/ It's a lis…

I am not sure if it targets me either but one thing I like is the pretty website and docs... AND that is important to me when I am playing with something new.

Re: Elixir is for programmers

#7

It's interesting to see Elixir mentioned more and more. I don't _quite_ see the use-case for it, but I'm so content with Erlang I'm almost surely not the audience the language targets. Will be fun to see if Elixir builds its own community or if Elixir folks slowly filter into the Erlang community as a whole. - - - EDIT It occurs to me that the HN crowd might like Lisp Flavored Erlang: http://lfe.github.io/ It's a lis…

I am not sure if it targets me either but one thing I like is the pretty website and docs... AND that is important to me when I am playing with something new.

Agreed. Docs are fantastically important.

Re: Elixir is for programmers

#10
Edit: The below is actually wrong

> For years I’ve wanted to be able to write my own control flow structures, such as an each...else that runs an else block if the each is empty (Handlebars templates have this).

Actually, python does have a (little-known) `for...else` structure that does what you want.

http://psung.blogspot.ca/2007/12/for-else-in-python.html

Post reply on HN