Building web applications without a framework Dress up your stdout

Using enums like C, Rails with Elixir macros

Moving from Ruby on Rails to Elixir and Phoenix, we use enums idioms heavily to represent integer flag values. Elixir (or ecto library) does not support idiom enums. But using macros, we can create enums easily.

Using enums in Elixir

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.