Unlike in some other languages, Swift’s Bool
is not Comparable
. Why is that?
I’m not questioning the current behavior as I agree that it doesn’t make sense to compare true
to false
in an ordinal manner, I’m just looking for a valid professional explanation. 😄