Back to Blog

Elixir Best Practices

Elixir Best Practices

Order listing of module attributes, directives, and macros

@moduledoc
@behaviour
use
import
require
alias
@module_attribute
defstruct
@type
@callback
@macrocallback
@optional_callbacks
defmacro, defmodule, defguard, def