Programmers are generally aware of two primary methods of exception handling. You have the old C-style error code method: int hMissileControl; int iReturnCode = launchMissiles(&hMissileControl); if (iReturnCode == ACCIDENTALLY_HIT_INNOCENTS) printf(“My bad.”); else controlMissile(hMissileControl); You also have the more common throw/raise paradigm: MissileController missileController; try { missileController = launchMissiles(); controlMissile(missileController); } catch (AccidentallyHitInnocentsException) printf(“My bad.”); This …
-
Bible Resources
-
Blogroll
-
Music
-
Feedback (3¢)