Fork me on GitHub

Project Notes

#117 Elixir

Book notes - Programming Elixir by Dave Thomas, pubished by The Pragmatic Bookshelf

Notes

I bought Programming Elixir from The Pragmatic Bookshelf in version 1.0 and udated through to 1.3. the latest edition is 1.6. My notes here reflect the 1.3 edition.

Table of Contents - Highlights

Conventional Programming

  • Pattern Matching
  • Immutability
  • Elixir Basics - Types
  • Anonymous Functions
  • Modules and Named Functions
  • Lists and Recursion
  • Maps, Keyword Lists, Sets, and Structs
  • Processing Collections—Enum and Stream
  • Strings and Binaries
  • Control Flow
  • Organizing a Project
  • Tooling

Concurrent Programming

  • Working with Multiple Processes
  • Nodes—The Key to Distributing Services
  • OTP: Servers
  • OTP: Supervisors
  • OTP: Applications
  • Tasks and Agents

More-Advanced Elixir

  • Macros and Code Evaluation
  • Linking Modules: Behavio(u)rs and Use
  • Protocols—Polymorphic Functions

Getting the Source

$ mkdir example_source
$ cd example_source
# v1.3 examples
$ wget http://media.pragprog.com/titles/elixir13/code/elixir13-code.tgz
$ tar xzvf elixir13-code.tgz
$ mv code elixir13-code
$ rm elixir13-code.tgz
# v1.6 examples
$ wget http://media.pragprog.com/titles/elixir16/code/elixir16-code.tgz
$ tar xzvf elixir16-code.tgz
$ mv code elixir16-code
$ rm elixir16-code.tgz

Credits and References

About LCK#117 elixirbook

This page is a web-friendly rendering of my project notes shared in the LittleCodingKata GitHub repository.

Project Source on GitHub Return to the LittleCodingKata Catalog
About LittleCodingKata

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.

Follow the Blog follow projects and notes as they are published in your favourite feed reader