Tagged: anti-patterns
-
Eager Boolean Operators: A Pattern to Continue Never Using
In relaying the story of eager Boolean operators, it is best to begin with their more ubiquitous siblings, short-circuiting logical Boolean operators. This is perhaps best achieved with an example: true || Seriously(this(is(valid(Ruby!)))) # => true false && 0/0 # => false In Ruby, and many other common programming languages,1...