Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
est
on Jan 13, 2014
|
parent
|
context
|
favorite
| on:
Real-time applications and will Django adapt?
I never understand the `function *(){}` syntax. Why can't we simply introduce a new keyword like `generator (){}`?
netghost
on Jan 13, 2014
[–]
Or just recognize that the function contains the yield keyword. That said, `function*` isn't all that bad given what you get in return.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: