How to tame one of Elixir’s most powerful constructs and write concise code that’s easy to read, maintain, and debug.

I gotta be honest. It was not exactly love at first sight when I first encountered Elixir’s with statement. But just like I learned to appreciate (and love) the whole non-defensive/let-it-crash approach, the same happened here as well.

The result: I was able to rewrite a bunch of complicated functions…

Mostly made to be a joke, highly opinionated, 100% fun to read.

Photo by Japheth Mast on Unsplash

Back in 2016 when I started my entrepreneurial journey, I did the same as going into any new field: try to devour as much information and advice from people considered the best in their field, i.e. learn from the winners. …

Alex Loukissas

Co-founder & CTO @ AgentRisk. Former infra-tech guy (storage, networks). Startup nerd. Always building cool side-projects. #LongLA

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store