Programming Elixir is another smash hit from Dave Thomas. Prior to Programming Elixir I introduction to both Elixir and functional programming in general. This PDF file contains pages extracted from Programming Elixir ≥ , published PDF copy, please visit balsodoctforri.gq Note: This Dave Thomas. Programming Elixir Functional |> Concurrent |> Pragmatic |> Fun. by Dave Thomas. This book is the introduction to Elixir for experienced.
|Language:||English, Spanish, Indonesian|
|Genre:||Academic & Education|
|Distribution:||Free* [*Registration Required]|
This PDF file contains pages extracted from Programming Elixir, published by the Dave Thomas The Pragmatic Starter Kit, The Pragmatic Programmer. This book is your guide to Elixir, a modern, functional, and concurrent programming language. Because Elixir runs on the Erlang VM, and uses the underlying. Metaprogramming Elixir made me want to run out and write code that writes code . Dave. Thomas and Andy Hunt welcomed me into the Prag family, and their.
Exercise Solutions. If you have a pragprog.
Help us get the word out. Tell all of your friends in the. International domains: In addition to. Check the promotions page for the full list. Ebooks are You just can't give them to other people or sell them.
Ebook delivery options. Enter Elixir, with its modern, Ruby-like, extendable syntax, compile and runtime evaluation, hygienic macro system, and more.
But, just as importantly, Elixir brings a sense of enjoyment to parallel, functional programming. Your applications become fun to work with, and the language encourages you to experiment. Part 1 covers the basics of writing sequential Elixir programs.
Part 2 uses these skills to start writing concurrent code—applications that use all the cores on your machine, or all the machines on your network! And we do it both with and without OTP. Part 3 looks at the more advanced features of the language, from DSLs and code generation to extending the syntax. This edition is fully updated with all the new features of Elixir 1.
But… it has been 3 years. And during that time the Elixir community has gained a lot of experience. Although the language is pretty stable, the way we use it has become more sophisticated.
I wanted to show some of those new ideas. This comes from Erlang, and in the past we designed Elixir GenServers just about the same way the Erlang folks did although the implementations were a lot simpler.
Elixir has new ways of specifying the supervisors for servers, and new convenience servers such as Agents and Tasks. The result is that idiomatic Elixir has moved on quite a lot.
I ended up writing a new chapter, and substantially changing two others, to reflect these new and better styles. In the past, you said that developers should learn Elixir because it teaches them a new way of thinking about code.
Do you still feel the same way? Yes and no. I think that reason is still valid. Apple just shipped an 18 core iMac. Servers with 64 and cores are in the works. You need to find reliable and manageable ways to write code for these beasts. I still firmly believe that functional programming is the key technology to make this happen.
On top of that, the actor model seems to be the best way to communicate between processes. And Elixir is both a functional language and it has a runtime library based on the actor model that has been battle tested for decades.
But now I give a second reason why developers should learn Elixir: You can already see the growth of alternatives: I think Elixir has a big part to play in this. Already we have the Nerves project, which lets you burn your Elixir applications into free standing images which will boot on devices such as the Raspberry Pi Zero.
I did exercises till chapter It is suggested to download source code. There is book forum https: What have been your favourite bits so far mkunikow?
I am familiar with functional programming Clojure, Scala. I think this helps learning another functional language. Some concepts are common. I want to check OTP later chapters. Amen to the No OOP. I have been a hard-core Scala nut for about 5 years and have all but dropped it in the last few weeks!
Maybe someday it will be ported some day to Elixir. This book fills that gap perfectly.
But knows, I might win a copy in the giveaway! This is one of the reasons I love books so much - I like someone to walk me through things while giving me their opinion on things. This helps me get a feel for the language which documentation rarely does.
Also re the giveaway, we are giving away a digital copy ebook. Really enjoying this book. Trying to work through all the exercises but they do get pretty tough! Is anybody else having issues with the images on their Kindle? Weird formatting of examples with two iex windows: Nice one alaister. Otherwise, the book has been great. AstonJ August 4, , AstonJ March 13, , 7: Well, Dave says: Anyone else got the book?
What do you think?