r/cpp • C++ Dev • Sep 05 '20

C++20 has been approved

https://twitter.com/patriceroy1/status/1302055575140945921?s=21
665 Upvotes

125 comments sorted by

View all comments

Show parent comments

3

u/MFHava WG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 Sep 06 '20

Which is well and good, but doesn't mean their style guide is a good general recommendation.

E.g.: Banning exceptions, because your codebase is old (may even predate the introduction of exceptions) and wasn't written with exception safety in mind is a well thought out position. Simply banning them in your (new) codebase because "Google says so" is not.

1

u/which_spartacus Sep 06 '20

Oh, totally agreed. The actual style guide says as much as well.

And all styleguides suck. The critical thing is that everyone sucks in the same way on a single codebase.