4 ms·
> Yes, plenty, including Google. Your statement is either disingenuous or entirely clueless. The only rationale that Google presented to not use exceptions is
by rumanator 7y ago
> Yes, plenty, including Google.
Your statement is either disingenuous or entirely clueless.
The only rationale that Google presented to not use exceptions is that they use a lot of legacy code that was designed without exception handling, and thus it's problematic for then to integrate modern C++ code with old exception-free code. For Google, the only problem with exceptions is their own personal technical debt. That's it. It's in their FAQ.
Enough with this nonsense.
https://google.github.io/styleguide/cppguide.html#Exceptions https://google.github.io/styleguide/cppguide.html#Exceptions
> Exceptions are an uber-goto, that can jump outside entire functions.
That statement is far from being correct or an appropriate description. Exceptions are as much like goto statements as are return statements, and no one in their right mind would describe a return statement as an uber-goto statement.
> Some people still like that, but very disciplined code bases (of which there are a lot in C++) tend to avoid them.
Again, that assertion makes no sense at all.