Lately, a lot of attention has been gathering over Elixir, one of the latest programming language.
So what is Elixir? Elixir, a functional, concurrent language built on the Erlang VM with syntax close to the Ruby programming language. Apart from Ruby, Elixir is a language that is inspired by the syntax and concepts of various other languages such as Clojure, Haskell, Python and even Lisp.
So what’s the game changer that makes Elixir smarter? Elixir’s flexible syntax and macro support for metaprogramming allows one to devise elegant and concise constructs that seems as if they’re integral part of the language. Metaprogramming helps one remove structural duplication, a situation where two pieces of code share the same abstract pattern, but differ in various details. Elixir works directly with the source code to do smart things. Tests rarely require more than the built-in assert, to display meaningful errors.
Single-line functions and multi-line blocks are...