News for hackers. Stuff that matters.
Re:How to use Elm at work by ams6110 on Monday July 11, 2016 @08:00PM (#12075727)
But why would they use Elm instead of Elixir as the language?

There is already at least a start at a Erlang Javascript parse transform: https://synrc.github.io/shen/

Re:How to use Elm at work by dragonwriter on Monday July 11, 2016 @08:19PM (#12075818)
> But why would they use Elm instead of Elixir as the language?

The same reason Rails would use CS instead of Ruby -- its a lot less work to leverage an existing front-end language than to build a rock solid compile-to-JS option for your existing backend language.

Re:How to use Elm at work by shadefinale on Monday July 11, 2016 @08:08PM (#12075759)
Phoenix is to Elixir as Rails is to Ruby - Elm and Coffeescript are mainly front-end considerations in this case.
Re:How to use Elm at work by ams6110 on Monday July 11, 2016 @08:19PM (#12075824)
Yes, perhaps to clarify: I mean why not have Elixir be the language that compiles to JS, rather than Elm. Then you only need one language for frontend and backend (in the context of a Phoenix app).