4 ms·
> Well you learn to appreciate the value of RAII and exception working on high-availability software. Alternatively, you'll learn to not appreciate the value
by tomp 8y ago
> Well you learn to appreciate the value of RAII and exception working on high-availability software.
Alternatively, you'll learn to not appreciate the value of exceptions working on high-availability software. Not personal experience, but AFAIK Google (definitely lots of highly-available software) disallows using exceptions in C++.
- erik_seaberg 8y agoThey have a critical mass of bad legacy code. > Because most existing C++ code at Google is not prepared to deal with exceptions, it is comparatively difficult to adopt new code that generates exceptions[....] Things would probably be different if we had to do it all over again from scratch. - https://google.github.io/styleguide/cppguide.html#Exceptions https://google.github.io/styleguide/cppguide.html#Exceptions