5 ms·
Ugh, what about avoiding flags entirely? I think "slightly" different behaviour is a smell of god-functions. Why not split the functionality in two, perhaps com
by pablovidal85 11y ago
Ugh, what about avoiding flags entirely? I think "slightly" different behaviour is a smell of god-functions. Why not split the functionality in two, perhaps composable, functions?
- whichdan 11y agoThis would be a great case for pattern matching in Elixir.