3 ms·
Not all errors have "fixes". If I navigate to "https://news.ycombinator.com/nope https://news.ycombinator.com/nope" it returns an error to me. Is that a softwar
by kllrnohj 5y ago
Not all errors have "fixes". If I navigate to "https://news.ycombinator.com/nope https://news.ycombinator.com/nope" it returns an error to me. Is that a software problem or an infrastructure problem? And what's the fix? How do you "fix" a bad input to the system from an external actor?
So no, errors/exceptions are not rare depending on the context. So now do you use exceptions and accept that it doesn't scale across core counts? Or do you use return values and accept that it just makes all your code slower in all cases?
1% error rate sounds like a lot. But really how many HTTP errors do web servers return on average? Or other such systems? It's definitely more than 0%, and those services also scale nicely across multiple cores, so... Now we're just bikeshedding over the example numbers, not the core issue.