4 ms·
> But in a manner of speaking, isn't your statement similar to a C++ programmer preferring to avoid understanding pointers? No. Pointers have a coherent model
by hasenj 16y ago
> But in a manner of speaking, isn't your statement similar to a C++ programmer preferring to avoid understanding pointers?
No. Pointers have a coherent model and represent a fundamental low-level rule of how computers work.
'this' in javascript is just messy.
I personally almost never use it.
- amadeus 16y agoIt's only messy if you don't understand it. Just because a concept is difficult to grasp initially, doesn't mean it's messy. Using this properly can prove to be a very powerful and flexible tool in your JS skill set. Ultimately I think it forces people to think about JS differently than what they might be typically used too.