2 ms·
Just FYI, using standalone `@` isn't considered to be good CoffeeScript style. It's discouraged for this very reason -- just use `this` instead. The reason why
by jashkenas 14y ago
Just FYI, using standalone `@` isn't considered to be good CoffeeScript style. It's discouraged for this very reason -- just use `this` instead.
The reason why it works in the first place is for consistency ... in every other context, you can use an `@` to replace a `this` or `this.`.
- viseztrance 14y agoFYI, I usually use this instead of @ myself, but in this case I used @ to empathize a grander issue. And it's not like there's a warning about it being removed on coffeescript.org where it's being mentioned as an alias for this in the first place.