1 points | by hauleth 9 hours ago
1 comments
Elixir does not short-circuit its if-then either:
if false or true do IO.puts("did not short-circuit (?)") end
https://elixir-lang.readthedocs.io/en/latest/intro/5.html#if...
Elixir does not short-circuit its if-then either:
Maybe because `if' is a macro, the whole expression is sent in for evaluation:https://elixir-lang.readthedocs.io/en/latest/intro/5.html#if...