Programming Elixir Chapter 12 Notes

Control Flow

Elixir has an unless keyword, which I don’t recall seeing in any other language I’ve used.

“Elixir exceptions are intended for things that should never happen in normal operation”

Trailing ! in a function name is an Elixir convention indicating failure raises an exception. We’ve already seeing this in the File.open! call in previous exercises.

[Read More]