|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Sloppy code (rant)
(Begin Rant)
I am *so sick* of professional programmers and their sloppy code. Today, I spent 4 hours re-installing a web plugin throughout my school building that failed to install the first time. I don't care that it didn't install okay--I understand that if it tries to install in a reduced-privileges environment, it might fail trying to write a registry key or a system file. I don't fault it for failing. What I do care about is the error message it gave me: "Unspecified error." WHAT!!?? The programmer that compiled the software wrote an error handler because he knew the code might fail. That's ok. However, he should be able to read the documentation for the function he is calling and handle each and every case of failure. And if the error code does not match any of the pre-programmed states, don't just pop up an error saying "Unspecified error", say "Unknown error code, cause #" and the error code. Give me a tech support number to call, and when they hear me read the error message, communicate with the programmers. Figure out what might be going on. Don't make me roll back to an older version because of a vague error message. After fixing that mess, I came home and tried to log into GMail. However, as soon as I type my details in and hit Enter, I am forwarded not to my mailbox, but to a blank white screen. Why? If the JavaScript on my side isn't getting any data, *tell me*. I'm not stupid. Don't just park there at that beautiful snowy white screen. Give me a meaningful error message describing why you stopped. Help me fix it. And then, to top that all off, my mom is trying to run some of her addicting games. They crash, giving me a "Could not create primary window" message. It has an OK box. That's all well and good when the box has focus, but no, another window does. I try to give the error box focus with my mouse, but the game has already called upon the Windows API to hide my mouse pointer. I ALT-TAB wildly, to no avail. I press CTRL-ALT-DEL, and the task manager pops up, but my mouse pointer is still invisible. I scoot the mouse around, and eventually stop the game task. A quick duck into the start menu yields the shortcut to play the game that just crashed, but no readme. I get online, but cannot find any help topic relevant to what just happened. What am I supposed to do now? The system specs blow away the minimum, and the error message is less than descriptive...so what now? People, please get it together. Maybe I'm preaching to the choir here, but if you do any sort of professional coding, please handle your exceptions properly. Crash gracefully and descriptively, not ugly and vague. Help the user out. Don't confuse them. Search your code. Any "Unspecified error" lines in there? Fix them. It just might make you some business. (To add a touch of irony, I couldn't even make this post right away because my Intel wireless app was suddenly "Unable to connect" to my router. With no reason. And then it just connected. What. The. Heck. )(End Rant) JBot |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems integrating CMUCAM code and IFI Default Code | Windward | Programming | 2 | 06-02-2007 16:48 |
| 2006 pneumatics rules - my rant | Jared Russell | Pneumatics | 3 | 06-02-2006 02:22 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |
| [moderated]: 2005s big issues - post solutions (and a little rant on the side) | Daniel Brim | General Forum | 1 | 30-03-2005 21:36 |
| Rant!! | MarkF | Chit-Chat | 4 | 26-02-2003 17:45 |