Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dherman
on Aug 30, 2011
|
parent
|
context
|
favorite
| on:
Contracts For CoffeeScript
It's a grammar hack, but IMO an intuitive one: if you have whitespace around the ::, it's a contract annotation; otherwise it's the prototype operator.
To quote Jeremy Ashkenas's JSConf talk on forking CoffeeScript: "when in doubt, cheat." ;-P
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
To quote Jeremy Ashkenas's JSConf talk on forking CoffeeScript: "when in doubt, cheat." ;-P