6

Funniest variable names?

I read today:
Switch that;
And in the constructor:
that = this;

Comments
  • 0
    As @Robbatron said, it's not weird to see that = this, arrow fn remove the need to keep a ref to the scope tho.

    I used to prefer binding over ref but that was before arrow fns.
  • 1
    Isn't 'that = this' used by 'developers' who don't understand lexical scope, scope binding and closure?
Add Comment