IEx and Mix Notes

Further side-quest to become comfortable with IEx/mix/dbg/pry. Learning commandline debugging since I’ve not been able to figure out how to launch a debuggable commandline program from VSCode.

[Read More]

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]