Thinking functionally -- Working with variables and functions -- Using pattern matching to control the program flow -- Diving into recursion -- Using higher-order functions -- Designing your Elixir applications -- Handling impure functions -- Adding rooms to the game -- Answers to exercises -- Bibli
Learn Functional Programming with Elixir: New Foundations for a New World
โ Scribed by Ulisses Almeida
- Publisher
- Pragmatic Bookshelf
- Year
- 2018
- Tongue
- English
- Leaves
- 191
- Series
- The Pragmatic Programmers
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Elixir's straightforward syntax and this guided tour give you a clean, simple path to learn modern functional programming techniques. No previous functional programming experience required! This book walks you through the right concepts at the right pace, as you explore immutable values and explicit data transformation, functions, modules, recursive functions, pattern matching, high-order functions, polymorphism, and failure handling, all while avoiding side effects. Don't board the Elixir train with an imperative mindset! To get the most out of functional languages, you need to think functionally. This book will get you there.
Functional programming offers useful techniques for building maintainable and scalable software that solves today's difficult problems. The demand for software written in this way is increasing - you don't want to miss out. In this book, you'll not only learn Elixir and its features, you'll also learn the mindset required to program functionally. Elixir's clean syntax is excellent for exploring the critical skills of using functions and concurrency.
Start with the basic techniques of the functional way: working with immutable data, transforming data in discrete steps, and avoiding side effects. Next, take a deep look at values, expressions, functions, and modules. Then extend your programming with pattern matching and flow control with case, if, cond, and functions. Use recursive functions to create iterations. Work with data types such as lists, tuples, and maps. Improve code reusability and readability with Elixir's most common high-order functions. Explore how to use lazy computation with streams, design your data, and take advantage of polymorphism with protocols. Combine functions and handle failures in a maintainable way using Elixir features and libraries.
Learn techniques that matter to make code that lives harmoniously with the language.
What You Need:
You'll need a computer and Elixir 1.4 or newer version installed. No previous functional programming or Elixir experience is required. Some experience with any programming language is recommended.
โฆ Subjects
Algorithms;Data Structures;Genetic;Memory Management;Programming;Computers & Technology;Introductory & Beginning;Programming;Computers & Technology;Software Development;Software Design, Testing & Engineering;Programming;Computers & Technology;Functional;Programming;Computers & Technology;Parallel Programming;Programming;Computers & Technology;Algorithms;Computer Science;New, Used & Rental Textbooks;Specialty Boutique
๐ SIMILAR VOLUMES
<div>Many programmers have limited effectiveness because they don't have a deep understanding of how their computer actually works under the hood.ย In Learn to Program with Assembly, you will learn to program in assembly language - the language of the computer itself.ย </div><div><br></div><div>Assem
Elixir, based on Erlang's virtual machine and ecosystem, makes it easier to achieve scalability, concurrency, fault tolerance, and high availability goals that are pursued by developers using any programming language or programming paradigm. Elixir is a modern programming language that utilizes the
This book teaches you to solve physics problems using the functional programming paradigm. Ideal for first-time programmers and science aficionados alike, it introduces the Haskell programming language and encourages the writing of beautiful code to match the elegant ideas of theoretical physics.