4 ms·
> I don't agree with any arguments about the semantics of Javascript, this, scope, binding, etc. It's a pain point; something every developer runs into. It shou
by debaserab2 10y ago
> I don't agree with any arguments about the semantics of Javascript, this, scope, binding, etc. It's a pain point; something every developer runs into. It should be fixed. Instead, we have about 10 ways of working around the problem. In all the revisions of the Javascript that have gone by, nobody fixed this _very_ common usage of the language.
Maybe I'm not completely understanding you correctly, but es6 and es7 does fix many of these problems, doesn't it? In which case the problem is there is no way to make es6 or es7 code compatible with older browsers other than transpiling. I don't know how you fix that without a time machine.