Hacker News new | ask | show | jobs
by ncmncm 2054 days ago
But be careful about picking up Googlisms.

Google's allergy to exceptions pollutes their designs. Any class with default constructor, Init, and Deinit is badly polluted.

2 comments

I have worked on many C++ codebases and none of them used exceptions pervasively. It works fine and I don't miss surprise return values.
Why though? Realtime systems, games would love to disable exceptions.
I code realtime systems with submicrosecond deadlines. And exceptions.

It is necessary to know what you are doing.

Exceptions are much more needed than the current counterhype makes it appear.