Joy of Elixir
Joy of Elixir
A gentle introduction to programming for beginners, using the Elixir language
About the Book
Work in progress
The book is currently very much a work-in-progress and I'm sure there will be people out there who can submit feedback on how to improve it. If you find any mistakes or anything at all that makes you uneasy, please do submit an issue over on the GitHub repository, letting us know what chapter you saw the mistake.
If you don't want to submit it there a quick email to email@example.com will work just as well. Just make sure to mention which chapter and some context of where you saw the thing that caused you to email us.
Why was this book written?
Joy of Elixir came about because I saw that there was not very much when it comes to absolute beginner material for learning Elixir. There's the excellent Getting Started guide on elixir-lang.org and the Programming Elixir book, but those feel like they're more targeted towards experienced programmers. They teach Elixir with a lot of assumed knowledge about programming languages. They're great books, but they're only great books for experienced programmers.
There's also the wonderful Elixir School site that serves well as a reference guide to the features of Elixir, but what newbies really need is a gentler introduction to Elixir.
Joy of Elixir avoids assuming you know anything about programming while teaching you about your first programming language: Elixir.
It seemed like there is a vast, empty, cavernous void where there should be something like the excellent Learn to Program book by Chris Pine. That book is for another programming language called Ruby; but there feels like there should be an equivalent to that for Elixir.
We have people completely new to programming wanting to learn Elixir -- because people who have learned Elixir already told them about it and how cool it is! -- but the support is not-quite-there yet. So this is an attempt to fill that void. Essentially a response to: "Why won't somebody think of the newbies?". Well, someone is thinking of the newbies.
I want Joy of Elixir to be the go-to-resource for teaching people programming for the very first time using Elixir. I want them to experience the joy that Elixir (and programming in general) can bring to people. I want them to feel like they have power over the machine because of the knowledge contained within this book.
I want them to feel competent as our future's potential computer programmers. I want them to feel like anyone can become a programmer.
Note: This Table of Contents is not the final table of contents. Things may move around, appear, disappear or otherwise change.
Part One: Introductions
- But who is this book for, really?
- Elixir? Isn't that something you drink?
Part Two: And away we go
- Appeasing the masses with code
- Now, where did I put that value?
- Lovely lists?
- Marvellous maps
- Funky functions
- Pattern matching
Part Three: Building on the foundations
- Intermission: Recap
- Working with strings, input and output
- Working with lists
- Working with maps
- Working with files
- Setup and install
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.