2 ms·
I've never really grokked the improvement this is supposed to represent. It's a slightly more explicit class of return codes I guess, and feels an awful lot lik
by XorNot 10y ago
I've never really grokked the improvement this is supposed to represent. It's a slightly more explicit class of return codes I guess, and feels an awful lot like exceptions as well.
Go for example, half-straddles this world too.
I can half-see the benefit of being able to know if something produces an error term (annoying in Python when you're trying to be thorough with exception handling) but conversely there's so few situations I encounter where a function can't error that it's practically irrelevant - what does it matter to me that some set of functions can't throw, if every bit of IO, network and disk before them can and will at some point?