Hacker News new | ask | show | jobs
by tobyhinloopen 1471 days ago
Elixir has the if-else being an expression.

foo = if x, do: 1, else: 2