Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: