3 ms·
Well, Google's C++ Style Guide[1] disallows exceptions, so it makes sense that they wouldn't put exceptions in Go either. Come to think of it, Go does seem pre
by kyllo 12y ago
Well, Google's C++ Style Guide[1] disallows exceptions, so it makes sense that they wouldn't put exceptions in Go either.
Come to think of it, Go does seem pretty similar to the subset of C++ that Google allows their developers to use. If you think of it that way, it starts to make sense to think of Go as an intended replacement for C++ at Google.
[1]http://google-styleguide.googlecode.com/svn/trunk/cppguide.html http://google-styleguide.googlecode.com/svn/trunk/cppguide.h...
- tomp 12y agoThe Style Guide also says that the decision is mostly due to large amounts of existing Google code that is not exception-safe. > Things would probably be different if we had to do it all over again from scratch.