Skip to content
Quantum Fax Machine

Good and Bad Elixir

Good and Bad Elixir

The article explores the common pitfalls and best practices when coding in Elixir. It highlights the disadvantages of using functions like Map.get/2 and Keyword.get/2 because they tie you to a specific data structure, promoting the use of Access instead. Other key points include strategies for more effective error handling, avoiding the use of pipes when working with side-effecting functions, and the importance of refining how higher-order functions are used within pipelines. The goal is to encourage writing reusable and well-composed software components.

⌘K

Start typing to search...

Search across content, newsletters, and subscribers