Created
June 8, 2021 00:08
-
-
Save BrooklinJazz/4f11a59a53001a6b80f322b93ccec029 to your computer and use it in GitHub Desktop.
Naming convention example for elixir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule M do | |
| def above_20?(val) do | |
| val > 20 | |
| end | |
| end | |
| M.above_20?(21) # true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment