O'Reilly logo

Learning Elixir by Kenny Ballou

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we discussed the branching semantics provided to us by Elixir. We went through examples using if else, unless, case, and cond.

We briefly discussed Elixir's exception facilities and how infrequently they should be used.

Furthermore, we looked at the deterministic nature of the Erlang runtime and how branches in Elixir, too, must return values.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required