Log in
updated 11:29 AM UTC, May 4, 2016

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