3 ms·
Ruby is definitely great and I would have totally agreed a couple years ago, but Elixir has blown my mind. It feels so much like LISP sometimes I wonder, espec
by freedomben 4y ago
Ruby is definitely great and I would have totally agreed a couple years ago, but Elixir has blown my mind. It feels so much like LISP sometimes I wonder, especially with the full macro system where you can operate directly on the AST :-D
Given the recent news on Nx and Livebook, Elixir may be a first-class language for ML very soon.
On a related note, Elixir feels a bit like a functional love child of ruby and python.
- FlyingSnake 4y agoCan you write general purpose scripts in Elixir like in Ruby or Python?
- xibo9 4y agoYup, you can write standalone Elixir scripts. Running "elixir myscript.exs" gives you that.
- krnsi 4y agoAnd with Mix.install/2 [0] you have access to the entire ecosystem. Here are a few examples: https://github.com/wojtekmach/mix_install_examples https://github.com/wojtekmach/mix_install_examples [0]: https://hexdocs.pm/mix/1.12.3/Mix.html#install/2 https://hexdocs.pm/mix/1.12.3/Mix.html#install/2