I miss the ternary operator - does anyone have a macro that allows a ternary operator in Elixir code?

You still gotta be careful here and should likely prefer to write it as @thiagomajesk suggested: (a && b) || c otherwise you don’t get the ternary behaviour if b is falsey:

iex> true && false || "oops"
"oops"

EDIT: Wait, what am I saying? The parens don’t solve that at all, lol. So ya, be careful of that.