Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lvh
on March 8, 2013
|
parent
|
context
|
favorite
| on:
Start testing your app with Casper.js
Given that you're using CoffeeScript, is there a reason you're not using @ instead of this.?
tzaman
on March 8, 2013
[–]
@ is the shorthand for this.
VeejayRampay
on March 9, 2013
|
parent
[–]
That'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
on March 9, 2013
|
root
|
parent
[–]
Ah, my bad, I've misread the question
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: