A single boolean variable, “IsRed,” is all that’s necessary. The situation is clear-cut: the object is either red or it isn’t.
A single boolean variable, “IsRed,” is all that’s necessary. The situation is clear-cut: the object is either red or it isn’t.