Quote:
Originally posted by Kaimetsu
Specifying the logic, like I said. If you use <= then it's true for zero and anything less than zero. You only actually want zero. Sure, <0 can't happen, but that's not the point. Asking for more than you need and broadening the logic is seen as a Bad Thing. I'll assume Stefan had some reason for it. Perhaps sometimes strlen returns -1.
|
Actually <0 can easily happen.
Well not for strlen, but that isn't my point.