3 ms·
Elixir code examples seem to come out very concise and elegant. It's similar to Clojure in that way, with the emphasis on dynamic typing, immutability, and fun
by jimbokun 11y ago
Elixir code examples seem to come out very concise and elegant. It's similar to Clojure in that way, with the emphasis on dynamic typing, immutability, and functional programming. A major difference is the emphasis on pattern matching (I know Clojure has this in libraries, but it's much more idiomatic in Elixir).
Makes Elixir a nice stepping stone to functional programming from dynamic languages like Ruby and Python.
- djur 11y ago"Stepping stone" suggests only part of a journey -- is Elixir incomplete or deficient as a functional programming language? What might the next step be?
- jimbokun 11y agoOK, how about "entry point"? It's an easier leap than jumping from Ruby into a strict, strongly typed functional language like Haskell, Ocaml, or Scala.
- djur 11y agoThat makes sense. But Elixir is pretty fantastic itself, so I imagine a lot of people would stick with it rather than moving on.