logoalt Hacker News

azovyesterday at 10:45 PM1 replyview on HN

Most codebases that ban exceptions do it because they parrot Google.

Google’s reasons for banning exceptions are historical, not technical. Sadly, this decision got enshrined in Google C++ Style Guide. The guide is otherwise pretty decent and is used by a lot of projects, but this particular part is IMO a disservice to the larger C++ ecosystem.


Replies

alextingleyesterday at 11:14 PM

I agree. I've worked on large C++ code bases that use exceptions, and they've never caused us any real problems.