Sunday, November 16, 2008

Java Script Helped me a lot yesterday:

Every modern programing language makes it easy to display a message box with a question and a few stock answers (yes, no, cancel, etc.). And this is wrong. Every programming language should make it easy to display a question with the answers appropriate to the question. Programmers get lazy and try to fit the stock answers – somehow – to every situation. That's how I got this awful message box from Mozilla Firefox:

A script on this page may be busy, or it may have stopped responding. Stop the script now or continue to see if the script will complete.
The message box offered me these two alternatives: OK and CANCEL.


I wish my choices had been: STOP and CONTINUE.
Post a Comment