Refactoring nested conditionals in Elixir
medium.com