Log in
updated 11:17 AM UTC, Feb 28, 2015

is instanceof operator expensive ?

  • Written by Madhu V Rao

Is instanceof operator expensive and bad to use?

There is always discussion about instanceof operator being expensive and performance intensive and should be avoided wherever possible.


Here is a review of instanceof which I liked :


Hope it clears all the questions about instanceof operator.

Happy coding :)


Powered by Bullraider.com
Follow Us on Twitter
Find Us on Facebook
Follow Us on Google
Follow Us on Pinterest