RailsConf 2018: Booleans are Easy – True or False? by Craig Buchek
Booleans are pretty simple — they’re either true or false. But that doesn’t mean that they’re always easy to use, or that they’re always the right choice when they appear to be the obvious choice.
We’ll cover several anti-patterns in the use of booleans. We’ll discuss why they’re problematic, and explore some better alternatives.