Saturday, February 2, 2013

Exceptional Exception Handling in JavaScript (link)

Anything that can go wrong, will go wrong. Murphy’s law is even applicable to software development. For non-trivial programs, it’s not a matter of if, but when something will go wrong. Standards non-compliance, unsupported features, and browser quirks are just a few sources of potential problems facing web developers. Given all of the things that can go wrong, JavaScript has a surprisingly simple way of dealing with errors ― it just gives up and fails silently. At least, that’s the behavior seen by the user. In reality, there is a lot going on under the hood.

Read more

No comments:

Post a Comment