August 2003
Beginner
600 pages
12h 55m
English
| Q1: | Should I alert the user that an exception has occurred or just let the code keep running? |
| A1: | If you've written code to handle the specific exception, there's probably no need to tell the user about it. However, if an exception occurs that the code doesn't know how to address, you should provide the user with the exception information so that he or she can report the problem and you can fix it. |
| Q2: | Should I comment every statement in my application? |
| A2: | Probably not. However, you should consider commenting every decision-making and looping construct in your program. Usually, these sections of code are pivotal to the success of the procedure, and it's not always obvious what they do. |
Read now
Unlock full access