Hacker News new | ask | show | jobs
by EduardoBautista 3253 days ago
In what way does Elm work better with Phoenix than, say, with Rails or Django?
2 comments

For 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.
Not really any 'build' way, but the 'patterns' of it are more similar in that being immutable, functional, and single-owner languages.