Re:Type Checking in JavaScript
by nfoz on Wednesday November 06, 2013 @12:44PM
(#6683997)
> in production I would prefer that the error is handled and the user can continue to use the app.
Maybe that's ok if it's a game or something, but this is a dangerous strategy. How do you know it's ok to use the app if there's an error? You have to very carefully isolate and control where your errors can be, and I'm not sure this approach allows you to do that.
Maybe that's ok if it's a game or something, but this is a dangerous strategy. How do you know it's ok to use the app if there's an error? You have to very carefully isolate and control where your errors can be, and I'm not sure this approach allows you to do that.