2 ms·
Honest question, what's so bad about `this`?
by airstrike 7y ago
Honest question, what's so bad about `this`?
- jeffkeen 7y agoOP doesn't like coding in javascript to feel like coding in javascript, I guess.
- lhorie 7y agoDynamic scope[1] is generally considered to be harder to reason about since their values are not determined by where they appear in a file (but rather by how the code executes at runtime) [1] https://en.wikipedia.org/wiki/Scope_(computer_science)#Lexical_scope_vs._dynamic_scope https://en.wikipedia.org/wiki/Scope_(computer_science)#Lexic...