4 ms·
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
by ams6110 10y ago
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/ https://synrc.github.io/shen/
- shadefinale 10y agoPhoenix is to Elixir as Rails is to Ruby - Elm and Coffeescript are mainly front-end considerations in this case.
- ams6110 10y agoYes, 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).
- dragonwriter 10y ago> 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.