Posts

Showing posts from September, 2017

Starting and changing mindset with Elixir

Image
What is elixir? Created in 2012 Elixir is functional and dynamic language, which make a real option if we want to create a web application. Since, Elixir runs under Erlang virtual machine (BEAM), which make it really stable and mature. Created by José Valim, who is a Ruby on Rails enthusiastic and had helped the community a lot. So, he took the the best of Rails and merge it with the efficiency of Elixir + Erlang.
Elixir is special for high availability systems . Functional The first two meanings we have to forget are objects and classes. It’s all about functions that operate and transform data, pure functions. But, We can not rely on Elixir being a pure functional language. Dynamic Elixir variables don’t need to be declared as an specifics data type, It checks at runtime. Inmutable Data structure won’t change. For example:
# Uses the match operator to give a true on function
name = “Han Solo”

# It creates a total new value for the new variable
name = "Luke Skywalker"
Concur…