C++ Features Banned By Google

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Jan 24 09:24:02 UTC 2026


On 24/01/2026 11:48 AM, Walter Bright wrote:
> https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c+ 
> +-features.md
> 
> This is an interesting document. Of particular note is banning the use 
> of exceptions:
> 
> https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c+ 
> +-features.md#exception_banned

And in Go which was designed for Google and Google alone, they have 
panics and recover.

https://go.dev/blog/defer-panic-and-recover

A little like our Error hierarchy except with a lot more type system 
inference and magic. Without the Throwable class, and more of the throw 
a int value kind of thing.



More information about the Digitalmars-d mailing list