4 ms·
It doesn't. -1 could mean you're returning a success. I mean that would literally be true in Forth.
by zeth___ 8y ago
It doesn't.
-1 could mean you're returning a success. I mean that would literally be true in Forth.
- yoz-y 8y agoIf the function returns magic numbers then that should be stated in the documentation comment.
- icebraining 8y agoYou're showing another problem with these comments: they're often ambiguous. Specifically, the message says "return on error", which to me doesn't mean it returns an error, but to you it did.