Intro to Elixir for non Ruby programmers – A PHP and Javascript perspective

By Erlang Central | Published: May 11, 2017

I come from the land of PHP and Javascript, with very little Ruby experience. I have seen quite a few posts around the interwebs introducing Elixir from a Rubyist’s perspective but I haven’t really seen any from a perspective I can relate to. The syntax of Elixir is kind of foreign to most people outside of Ruby-land, so I hope to help push people a little bit over the initial hump with some examples using PHP and Javascript (ES2015) along with the Elixir examples.

My goal with this post is to help introduce the syntax as well as a shallow introduction to immutability and how we use recursion instead of loops.

Follow Erlang Central:

Have an Erlang Question?

Reach out to the Erlang community