DEV Community

Discussion on: Rethinking JavaScript: The complete elimination and eradication of JavaScript's this.

Collapse
 
michaelzaporozhets profile image
Michael Zaporozhets

I'm an awful nostalgist for mega constructors and the circa 2010 var _this = this; but your points make sense in most contexts. I think value of this is clearer when describing code that is referecing an instance environment of something. Especially at an entry level, I think this helps to lubricate the learning process when working with constructors.

Collapse
 
joelnet profile image
JavaScript Joel

I prefer a functional reactive style that doesn't require constructors or this.

I think the concept of this works great in other languages like C#. Because you know what this is. Though in JavaScript, people expect this to behave the same way it does in those other languages and it just doesn't :(