Ryan Winchester @winchester.dev · Nov 24 choose one (I choose A) 2 likes 4 replies ? Reply Replies Shreyas Mididoddi · Nov 24 Okay this function overload pattern matching thing is awesome. This is a dumb example but I can see how useful it can be Spencer Olson · Nov 24 A! btw D is treating x differently than A-C when x is `false` Alice ✨ · Nov 24 does D work correctly if x is false? (i don't know elixir ^^) n me zoey 🏳️⚧️ · Nov 24 but why not a simple if? if x, do: x, else: y agree that pattern matching is generally the right answer single line with is also fine i think with nil <- x, do: y