Handling Environment Variables in Phoenix Easy and Robust Rate Limiting In Elixir

How to Write Elixiry Ruby - Result Object

In Elixir/Erlang, error cases can be easily modeled as tagged tuples: {:error, reason}. But in a more Object-Oriented language like Ruby, it’s hard to model error as a lightweight data structure like Elixir tuples. After some trial-and-error, I’ve found a great way to model errors in OO languages: Result Object.

How to Write Elixiry Ruby - Result Object - Yiming Chen

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.