Erlang: Protip — `throw` is an antipattern

throw is bad. EEP 0049 is a whole set of bad ideas. Deeply nested case is bad. Using if where it doesn’t belong is bad. try … catch is bad, but there are a handful of builtins and library functions that force you to use it instead of providing an ok | error return (use […]