Common Pitfalls in Elixir Coding
Blackode
2112

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.

Like what you read? Give Holger Adam a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.