top | item 21432546

(no title)

icedchocolate | 6 years ago

Why do people program new projects in Erlang as opposed to Elixir? Especially when it’s a web project and Elixir has Phoenix?

discuss

order

SkyMarshal|6 years ago

Zotonic isn’t new, it’s one of the oldest Erlang web apps, predates Elixir by like 5yrs.

That said, I wish it were in Elixir. Has some nice features, but would probably get more adoption if it were in Elixir.

lawik|6 years ago

As an Elixir enthusiast I would say, if you prefer Erlang to Elixir or is more experienced with it and will be building web stuff Elixir is one more dependency which could br avoided.

I like Elixir. Not all Erlangers do.

Also, this mentions being something of a CMS. Phoenix is not that.

rkangel|6 years ago

Web frameworks are something where the one objective advantage of Elixir over Erlang really shines: macros.

Phoenix uses macros very effectively to reduce the sort of boilerplate that is common in Web frameworks. Macros aren't the solutions to all problems, but in this case they're great.

caiocaiocaio|6 years ago

I really love Elixir as a language. Phoenix looks nice from a distance, but I found it to be very ugly and messy when you get down to the nitty-gritty. I wrote a personal project in Phoenix but I'm thinking of translating it, because I really want to wash my hands of that framework forever.

conradfr|6 years ago

What don't you like that is specific to Phoenix?