Guard Clauses – Additional Level of Matching

You cannot view this unit as you're not logged in yet. Go to Account to login.

4 Comments

  1. Francisco Quintero on November 30, 2020 at 7:33 pm

    This is the feature I like most about Elixir. I mean, everything in general is awesome but this one is so simple and elegant.

  2. Mark Johnson on February 24, 2021 at 9:35 pm

    Another really good lesson. Learned a lot.

  3. Geoff Clayton on August 22, 2022 at 2:38 pm

    Hi, I have really enjoyed this course! I love learning new approaches to problem solving. As an experienced PHP and Javascript developer, I find that any exposure to functional programming is really good for my coding overall.

    One thing – I think you have a typo in the first code snippet of the section “Import Guard Clauses to Reuse”. Where you have `@defmodule` I think it is meant to say `@moduledoc`.

    • Mark Ericksen on August 22, 2022 at 3:17 pm

      Hi Geoff! Thanks for the feedback! I agree that learning from other languages can stretch our brains in new ways and make us better developers.

      Thanks for the typo report. Fixed!

Leave a Comment

You must be logged in to post a comment.