Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jashkenas
on Feb 14, 2010
|
parent
|
context
|
favorite
| on:
Tell HN: Meet CoffeeScript
The braces are there because JavaScript's object literals are already pretty nice. But it would certainly be an interesting feature, if assigning to a block implied an object literal.
obj: prop: value prop2: value2
edit: I've opened a ticket for this, here:
http://github.com/jashkenas/coffee-script/issues/issue/146
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
http://github.com/jashkenas/coffee-script/issues/issue/146