Re:Counting up vs. counting down
by masklinn on Thursday November 19, 2015 @10:53AM
(#10595407)
I don't know if it'd be clearer. It'd be a better representation of what actually happens but would read very strangely. `!= -1` would make a reader think "shouldn't go below 0" and only on closer inspection would you wonder what actually happens, `!= SIZE_MAX` would probably make any reader stop and scratch their head.
Whether that's a good thing is up for debate.