3 ms·
Given that you're using CoffeeScript, is there a reason you're not using @ instead of this.?
by lvh 14y ago
Given that you're using CoffeeScript, is there a reason you're not using @ instead of this.?
- tzaman 14y ago@ is the shorthand for this.
- VeejayRampay 14y agoThat's exactly what he was asking: Since @foo is shorthand for this.foo, why are the code snippets littered with this.method, this.prop, this.blah and the likes?
- tzaman 14y agoAh, my bad, I've misread the question