Try vs Case: The last battle

In this article we’ll try to battle different Elixir control structures in order to understand their efficiency and applicability in our projects.
TL;DR:
- You can use
trywithelse- instead ofcaseliterally (only literally!);- Never use
withinstead ofcase- only instead ofcasechains;- Use
tryif you need it - forcatchcases;- Forget about
throwandcatchin your code - they are really slow;
Do you want to know, what literally means? Welcome under cut!
