Continued from page 1
One thing I've learned as a programmer is that users will always find a way to break your program. A programmer designs application to be used in a logical manner. Users never read help file. They just start executing menu selections in an irrational manner. The program crashes.
Let's make one thing clear. It is programmers duty to anticipate every possible way that user can operate application, and to code provisions to protect program and user from undesirable results. With a large, powerful and complex application this requires an enormous amount of testing and debugging time.
The concept of "beta" software (and most freeware and shareware) is to toss application out to public and let them do testing. For application developer, this has advantages and disadvantages. Advantage: you get better testing and it's free. Disadvantage: The public doesn't understand "beta" software and application may get a bad reputation as being buggy.
Nonsensical Error Messages
You accidentally try to save a file to a drive that doesn't exist and you get error message "Error, choose another color". Nonsense error messages result from way error messages are coded into a program. For example, an application may have six different places in code where it opens a file. The programmer can code error message "File doesn't exist" six times, or programmer can code a list containing all error messages used in application and then reference message in that list.
The list may contain hundreds of messages. Now, while coding, programmer needs another error message. The programmer can add an accurate message to list, or choose to reference an existing message. The lazy programmer chooses to reference an existing message in list that only vaguely relates to actual error.
Next time your application pops up some cryptic error message, you now have some idea as to what message means. Most errors are not caused by something user did. They are caused by programmers mistakes. You also now know why you sometimes get nonsense error messages. ---------------------------------------------------------- Resource Box: Copyright(C)2003 Bucaro TecHelp. To learn how to maintain your computer and use it more effectively to design a Web site and make money on Web visit http://bucarotechelp.com To subscribe to Bucaro TecHelp Newsletter Send a blank email to mailto:bucarotechelp-subscribe@topica.com ----------------------------------------------------------
None