Agreed, although if you don't mind my asking, what would you replace it with? An extra argument? Using part of the result-domain (e.g. -EINVAL instead of errno=EINVAL;return -1? Signals? Exception handlers embedded in the call frame?
I think you can tell a lot 'bout a man based on how he answers that question.
View all comments
Show parent comment
5
u/geocar Oct 20 '09
Agreed, although if you don't mind my asking, what would you replace it with? An extra argument? Using part of the result-domain (e.g.
-EINVALinstead oferrno=EINVAL;return -1? Signals? Exception handlers embedded in the call frame?I think you can tell a lot 'bout a man based on how he answers that question.