Book description
Explore functional programming without the academic overtones (tell me about monads just one more time). Create concurrent applications, but get them right without all the locking and consistency headaches. Meet Elixir, a modern, functional, concurrent language built on the rock-solid Erlang VM. Elixir's pragmatic syntax and built-in support for metaprogramming will make you productive and keep you interested for the long haul. Maybe the time is right for the Next Big Thing. Maybe it's Elixir. This book is the introduction to Elixir for experienced programmers, completely updated for Elixir 1.3.
Publisher resources
Table of contents
- Foreword
- A Vain Attempt at a Justification
- 1. Take the Red Pill
-
Part I. Conventional Programming
- 2. Pattern Matching
- 3. Immutability
- 4. Elixir Basics
- 5. Anonymous Functions
- 6. Modules and Named Functions
- 7. Lists and Recursion
- 8. Maps, Keyword Lists, Sets, and Structs
- 9. An Aside—What Are Types?
- 10. Processing Collections—Enum and Stream
- 11. Strings and Binaries
- 12. Control Flow
-
13. Organizing a Project
- The Project: Fetch Issues from GitHub
- Task: Use Mix to Create Our New Project
- Transformation: Parse the Command Line
- Step: Write Some Basic Tests
- Transformation: Fetch from GitHub
- Task: Use Libraries
- Transformation: Convert Response
- Transformation: Sort Data
- Transformation: Take First n Items
- Transformation: Format the Table
- Task: Make a Command-Line Executable
- Task: Add Some Logging
- Task: Create Project Documentation
- Coding by Transforming Data
- 14. Tooling
- Part II. Concurrent Programming
- Part III. More Advanced Elixir
- A1. Exceptions: raise and try, catch and throw
- A2. Type Specifications and Type Checking
- Bibliography
Product information
- Title: Programming Elixir 1.3
- Author(s):
- Release date: October 2016
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781680502008
You might also like
book
Programming Elixir 1.2
You want to explore functional programming, but are put off by the academic feel (tell me …
book
Études for Elixir
This book includes descriptions of programs that you can write in Elixir. The programs will usually …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
video
Erlang by Example with Cesarini and Thompson
Get to know Erlang, the increasingly popular programming language widely known for its role in concurrency. …