How to check for equals? (0 == i) or (i == 0) [closed]

I prefer the second one, (i == 0), because it feel much more natural when reading it. You ask people, “Are you 21 or older?”, not, “Is 21 less than or equal to your age?”

Leave a Comment