3 ms·
I think it’s where many functions return 0 when they are successful.
by vegetablepotpie 5y ago
I think it’s where many functions return 0 when they are successful.
- leeoniya 5y agomaybe cause there's only one way to succeed and many ways to error. 0 success and 1..N are error codes. what is a reasonable alternative? (this isnt the same as 0 false and 1 true)
- toomim 5y agoOk, but: success vs. fail is different than: true vs. false They're both binary, but only one is boolean.