Common Pitfalls in Elixir Coding
Blackode
592

Thanks for writing this. Love those little gotchas.

One thing I recently stumbled upon was having a typo in expected responses. Like when using handle_cast of GenServer you will send {:noreply, some_new_state}.

I spent quite some time figuring out that :no_reply (mind the _) was the reason for those verbose stack traces. So you better check the expected responses.

Show your support

Clapping shows how much you appreciated Holger Adam’s story.