Original Post
In school they say that you should use a sort of Debug mode tag to generate errors so that the program pretty much crashes if there's an error so you know theres a problem, and when you release the game to take the Debug mode option out so if the program crashes, it crashes gracefully. So something like this if (DEBUG) { CrashHard(); }else { CrashGracefully(); } That way when you release the game to the public you can just not define DEBUG and the program won't crash as hard. My question is, is this a good idea for game programming, since that makes that many more if statements it has to evaluate? I know it won't totally slow the game down or anything, but evey little bit helps. Sorry If I wasn't totally clear on this. I'm tired right now.