My Elixir Journey
January 8, 2017
I decided to start learning Elixir in February 2018.
Follow my journey through this new blog.
A bit of background
Last year, I participate to a MOOC to learn OCAML. That was my first experience with functional language and I basically fall in love with this way of programming. As a web developper, OCAML is maybe not the best language … or if you love crazy build tools you can use ReasonML. But I need something fresh. After some research, I discover Elixir. A functionnal language that compile to native Erlang bytecode. Look like a nice ecosystem to discover.
defmodule GettingStartedElixirWeb.BookController do
use GettingStartedElixirWeb, :controller
alias GettingStartedElixir.{Book, DatastoreRepo}
def index(conn, _params) do
books = Book.find_all(10)
conn
|> assign(:books, books)
|> assign(:next_page_token, nil)
|> render("index.html")
end
But know I need a project to experiment with real life constraints …