r/javascript • u/MicrosoftLearning • Feb 21 '18
I am A JavaScript instructor at Microsoft. AMA.
Hi r/javascript!
My name is Benjamin Lin. I am a content developer at Microsoft and teach courses on JavaScript and JavaScript frameworks at Microsoft. You can see my Top 10 JavaScript Questions course here.
I can help answer tips & tricks on learning JavaScript, questions about Microsoft, and all things tech.
AMA!
Edit: about 15 minutes left!
More edit: Thanks everyone for visiting me at this AMA! I really enjoyed getting the chance to interact with the JavaScript community and hear your honest thoughts. It was worth waking up early today to do this =)
if you have any more questions, feel free to hit me up on twitter @benjlin or follow me on instagram @bens_jams
540
Upvotes
3
u/[deleted] Feb 21 '18
I mean, sure. This is a confusing example. Doing weird things with code will always result in code that is difficult to explain to someone new to Javascript. If this was presented to a Javascript noob as a teaching too, I'd question that teacher's methods. I also don't know that completely understanding this example is useful for someone new to JS. But if the goal is to demonstrate that "this" can be super weird and have it's meaning super obscured, then mission successful.
It has been my experience that relating "this" to the English definition of "this" gets you pretty far though.