Hi Colin,

> Writing "== -1" implies a reading that any other value would indicate
> success;

Or it implies it's being coded to the spec.

> writing "!= 0" implies a reading that any other value would indicate
> an error; writing "< 0" implies a reading that it depends on the sign
> of the hypothetical not-zero-or-minus-one return value.

Both of these allow for more values than -1, `stuttering' the human
reader, and potentially troubling the static analyser.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

Reply via email to