@vgr now figure out why `that = this` is an actual javascript idiom that people actually use
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@vgr var that = this;Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@vgr he did not. have. inventual. relations. with that language.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@jamesmcn Yup, that's how I understood what was going on. A 'this' example only worked when I figured out the closure approach.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@vgr Such are the lamentations of a language inspired by Smalltalk, only to be bikeshedded to be "more familiar" to Java/C programmers. -
@vgr Not that I'm complaining too much, especially when my composition of that tweet was interrupted by a recruiter seeking JS experience.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.