-1

I'm wondering if it's a good practice to use it or simply leave it as the name itself. I know sometimes it's better to use it to understand what you're calling, but if it's completely isolated and can be omitted, is it a good practice to still make use of it?

Is it, in any way, slower than not using it?

Erik Campobadal
  • 867
  • 9
  • 14

1 Answers1

2

Slower no, but it helps if there is a variable in scope which is the same as the closing members, you can use this to disambiguate between the two. You can also assign to this which functionality can also be overridden.

Jay
  • 3,276
  • 1
  • 28
  • 38