3 ms·
The one with the implicit comparison is more readable because it's closest to simulating the test of a Boolean variable. The other two leave the reader with th
by kazinator 7y ago
The one with the implicit comparison is more readable because it's closest to simulating the test of a Boolean variable.
The other two leave the reader with the lingering suspicion that the variable takes on two or more values. The latter more so than the former.