How "let it fail" leads to simpler code
https://yiming.dev/blog/2022/07/10/how-let-it-fail-leads-to-simpler-code/
This blog post summarizes my biggest lesson learned from writing Elixir for 5 years: distinguish expected errors and unexpected errors.
So we can safely ignore the unexpected and let it fail. The only errors our business logic need to handle are the expected errors.
Read next LetMe authorization library