Is there a price to pay for using exceptions?

Have you ever wondered how exceptions start to shape and have an impact on your project? Are they useful? Do they affect performance in anyway?

Sometimes exceptions can be thrown from the smallest operations!

Is exception handling useful?

But sometimes, could it be a little bit too much?

And how about the performance of my application?

Execution results. Times are in ms.

To sum up!

Frontend Software Engineer @Lumapps working with React. Former @mercadolibre @oracle. I love creating the best web experiences for developers and end Users!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store