3 ms·
What frontend stack fits Elixir most symmetrically? Is there a "ClojureScript" to Elixir's "Clojure"?
by fnordsensei 9y ago
What frontend stack fits Elixir most symmetrically? Is there a "ClojureScript" to Elixir's "Clojure"?
- Dangeranger 9y agoElm works very well with Elixir[0] [0] https://www.dailydrip.com/topics/elixirsips/drips/phoenix-and-elm https://www.dailydrip.com/topics/elixirsips/drips/phoenix-an...
- EduardoBautista 9y agoIn what way does Elm work better with Phoenix than, say, with Rails or Django?
- OvermindDL1 9y agoNot really any 'build' way, but the 'patterns' of it are more similar in that being immutable, functional, and single-owner languages.
- Dangeranger 9y agoFor me it was that the mindsets of Elm and Elixir were very similar. Create small functions that accept data, and emit data, sometimes create a message with some data attached to it. Using pattern matching is very similar between both languages for matching on message types and shape. Also both languages share a nearly identical pipe operator, which influences the building of very strait forward function pipelines for transforming input or data into responses and output.
- MildlySerious 9y agoElm has been going strong among Elixir users, including a bunch of influencers. I personally haven't tried it out of personal preference and instead had a great experience coupling Vue with a Phoenix backend.
- OvermindDL1 9y agoBucklescript works fantastic in the Elixir system (I have a bucklescript-tea library that maps Elm code 'almost' verbatum to Bucklescript code too). There is an ElixirScript project in current dev, still early but usable, that compiles Elixir code to javascript too.
- somlor 9y agoClojureScript itself fits wonderfully in Elixir/Phoenix land. :)
- fnordsensei 9y agoNever thought about that, but it makes sense :)