News for hackers. Stuff that matters.
Re:‘This’ in JavaScript by amelius on Thursday August 03, 2017 @02:36PM (#14922392)
Well I don't see it used in a lot of code, so in that respect I think it is obscure. Also, using the "self" approach allows one to lexically bind to the enclosing scope, which aligns nicely with how most functional programmers think.
Re:‘This’ in JavaScript by carussell on Saturday August 05, 2017 @01:01PM (#14936631)
> Well I don't see it used in a lot of code, so in that respect I think it is obscure.

You just moved the goalposts.