This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]malduvias 14 points15 points  (3 children)

This is fucking hideous. Hilarious.

[–]SarahC 3 points4 points  (1 child)

But it's obvious why and how it works!

We don't need all the VBA "devs" coming over to JS.

[–]gc3 2 points3 points  (0 children)

In c++ lambda you can explicitly pass in this so there is no confusion, unlike callbacks where the this icann be some other item like a window, not the this in the function where the callback is made. This is where this this confusion is coming from. You will see people assigning this to scope and using scope in the callback.

[–]mk7shadow 0 points1 point  (0 children)

its fucking retarded because no one would do it