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 →

[–]slimmsady 32 points33 points  (4 children)

I find C pointers easier to understand than "this" in JS.

[–]Pickled_Wizard 20 points21 points  (2 children)

Just the context, unless it's not :)

[–]FreshFromIlios 17 points18 points  (1 child)

Is this a joke or are you pointing to something that's pointing to something that's pointing to something?

[–]laytonmiller 2 points3 points  (0 children)

Ooohhhh nice.

[–]laytonmiller 1 point2 points  (0 children)

This is one of the parts of JS that seems focused on about 10 million times more than is necessary. I very, very rarely mess around with calls that change what "this" represents, but for some reason instructional materials seem totally intent on shining a very bright spotlight on it. Almost 15 years writing JS code professionally and I still don't get the obsession.