General Elixir Talks

Making Sense of Elixir Directives

What are Directives?

  • Way to declare, import and reference other Modules
  • Elixir has four of them
  • But, but, why?

^ Think require in Ruby, import in Python

^ Elixir has four, all with slightly different purposes. Based on conversation I was having I find them confusing so I dug in a bit

^ Wrote up my gripes, presented them to Jose & Chris McCord. Summary is they agree it’s confusing, but have a hard time figuring out how to change things already set in motion. So, this is my effort to add some clarity to the situation.

1 Like