Learning Elixir by Kenny Ballou

By Kenny Ballou

Elixir, in line with Erlang's digital desktop and atmosphere, makes it more straightforward to accomplish scalability, concurrency, fault tolerance, and excessive availability targets which are pursued by means of builders utilizing any programming language or programming paradigm. Elixir is a contemporary programming language that makes use of the advantages provided through Erlang VM with out quite incorporating the advanced syntaxes of Erlang.

Learning to software utilizing Elixir will train many stuff which are very helpful to programming as a craft, no matter if on the finish of the day, the programmer isn't utilizing Elixir. This booklet will train you recommendations and rules very important to any advanced, scalable, and resilient program. quite often, functions are traditionally tricky to cause approximately, yet utilizing the recommendations during this e-book, they'll develop into effortless and relaxing. it's going to educate you the sensible programing ropes, to allow them to create larger and extra scalable functions, and you'll discover how Elixir will help in achieving new programming heights. additionally, you will glean a company knowing of fundamentals of OTP and the on hand well-known, supplied performance for developing resilient complicated platforms. moreover, you'll examine the fundamentals of metaprogramming: editing and increasing Elixir to suite your wishes.

Show description

Read or Download Learning Elixir PDF

Best programming books

Scratch 2.0 Beginner's Guide (2nd Edition)

As twenty first century humans, we are living a electronic existence, yet desktop scientists worldwide warn of a declining pool of digitally literate laptop technology scholars. The Scratch atmosphere makes it enjoyable for college students of any age to imagine, create, and collaborate digitally.

Scratch 2. zero Beginner's consultant moment variation will train you ways to develop into a Scratch programmer and lay the root for programming in any laptop language. even if you're making a birthday card or cloning bricks for a video game of Breakout, initiatives are approached in a step by step approach to assist you layout, create, and consider every one programming workout.

Automata, Languages and Programming: 25th International Colloquium, ICALP'98 Aalborg, Denmark, July 13–17, 1998 Proceedings

This publication constitutes the refereed lawsuits of the twenty fifth overseas Colloquium on Automata, Languages and Programming, ICALP'98, held in Aalborg, Denmark, in July 1998. The 70 revised complete papers provided including 8 invited contributions have been rigorously chosen from a complete of 182 submissions.

FAQ по Microsoft Windows Vista

Этот сборник часто задаваемых вопросов по home windows Vista был собран по материалам форума OSzone. internet. Он будет полезен как для решения конкретных задачу, так и в ознакомительных целях. Возможно при прочтении данного FAQ вы узнаете что-то новое и полезное, то чем вы сможете воспользоваться в будущем. Здесь я старался собрать вопросы, которые еще не рассматривались ране, вопросы, которые относятся в первую очередь к home windows Vista, хотя фактически львиная доля вопросов, описанных в FAQ по home windows XP применима и к этой системе.

LEGO MINDSTORMS NXT-G Programming Guide, Second Edition (Practical Projects)

James Kelly’s LEGO MINDSTORMS NXT-G Programming advisor, moment variation is a fountain of knowledge and concepts for these seeking to grasp the artwork of programming LEGO’s MINDSTORMS NXT robotics kits. This moment variation is fully-updated to hide all of the newest beneficial properties and components within the NXT 2. zero sequence. it's also routines on the finish of every bankruptcy and different content material feedback from educators and different readers of the 1st variation.

Extra resources for Learning Elixir

Sample text

We will discuss this more when we go over lists in the next chapter. Using the inspect/2 function Another function we will often use while developing and debugging Elixir code is the inspect/2 function. From the help, type h(inspect/2) in your iex: def inspect(arg, opts \\ []) Inspect the given argument according to the Inspect protocol. The second argument is a keywords list with options to control inspection. We will cover protocols more specifically in Chapter 9, Metaprogramming – Doing More with Less.

Even more about Strings Let's take yet another moment to talk about Strings. This time, we will focus on double-quoted strings, that is, real strings. Erlang, in its early days, didn't require strings. Erlang code was hardly, if ever, used for user-facing code. Thus, string handling, by manipulation or otherwise, was regarded as secondary. Bit handling, on the other hand, was paramount. It was absolutely necessary to have really good bit and binary manipulation. This is a language that was used to handle telephony data, which is all bits and bytes.

Html). The Inspect protocol is responsible for converting any Elixir data structure into an algebra document. This document is then formatted, either in a pretty printing format or a regular one. Essentially, the inspect/2 function allows us to peer into our data structures and see what's inside, in a readable format. The inspect/2 function is a useful function for viewing the internal values or states of some data structures of our programs. These can also be used in print statement style debugging.

Download PDF sample

Rated 4.96 of 5 – based on 4 votes