Skip to main content
Tweeted twitter.com/StackGameDev/status/950168475825209344
edited tags
Link
Tetrad
  • 30.1k
  • 12
  • 96
  • 143
Source Link
David Young
  • 3.3k
  • 1
  • 24
  • 41

Throwing Exceptions in C++ game DLL's? Pros and Cons

What are the pros and cons of using Exceptions in C++ in relation to game development.

Google style guide says that they don't use Exceptions for a variety of reasons. Are the same reasons pertinent towards game development?

We do not use C++ exceptions... - google-styleguide.googlecode.com

Some issues to think about.

  • How it pertains to the development of a libraries used through multiple projects.
  • How does it affect unit testing, integration testing, etc?
  • What does it do to using third party libraries.