Skip to content

Comment on Handling Errors in Javascript APIs

Comments

That article keeps mentioning the performance drawbacks of checking for errors, but I really can't imagine error checking to have any noticeable performance impact at all, unless you're going to the server just to validate input prior to sending. Why treat it as a serious consideration? Seems like that will just mislead inexperienced JS devs.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.