Synopses & Reviews
Synopsis
Smooth, powerful, and small, the Elixir programming language is an excellent place for newcomers to learn about functional programming. This book shows readers how Elixir combines the robust functional programming of Erlang with an approach that looks more like Ruby. Readers will learn how Elixir simplifies some of Erlang's odder corners and reaches toward metaprogramming with powerful macro features.
Introducing Elixer is ideal for developers new to programming as well as experienced developers who want to move into functional programming.
- Get comfortable with IEx, Elixir's command line interface
- Become familiar with Elixir s basic structures by working with numbers
- Discover atoms, pattern matching, and guards: the foundations of your program structure
- Delve into the heart of Elixir processing with recursion, strings, lists, and higher-order functions
- Deploy Elixir programs as sets of processes that communicate with each other
- Store and manipulate structured data with Erlang Term Storage (ETS) and the Mnesia database
- Build resilient applications with the Open Telecom Platform (OTP)
- Define macros with Elixir's meta-programming tools
"
Synopsis
Smooth, powerful, and small, Elixir is an excellent language for learning functional programming, and with this hands-on introduction, you'll discover just how powerful Elixir can be. Authors Simon St. Laurent and J. David Eisenberg show you how Elixir combines the robust functional programming of Erlang with an approach that looks more like Ruby, and includes powerful macro features for metaprogramming.
Updated to cover Elixir 1.4, the second edition of this practical book helps you write simple Elixir programs by teaching one skill at a time. Once you pick up pattern matching, process-oriented programming, and other concepts, you'll understand why Elixir makes it easier to build concurrent and resilient programs that scale up and down with ease.
- Get comfortable with IEx, Elixir's command line interface
- Learn Elixir's basic structures by working with numbers
- Discover atoms, pattern matching, and guards: the foundations of your program structure
- Delve into the heart of Elixir processing with recursion, strings, lists, and higher-order functions
- Create Elixir processes and send messages among them
- Store and manipulate structured data with Erlang Term Storage and the Mnesia database
- Build resilient applications with the Open Telecom Platform