Y
Hacker News
new
|
ask
|
show
|
jobs
by
Dylan16807
3003 days ago
Javascript generators make for painful coroutines, because a function called by the generator can't yield all the way out.
1 comments
yuchi
3003 days ago
Yield * fn()?
link
Dylan16807
3003 days ago
You can use that sometimes, but it really complicates return values in a way Lua just doesn't have to deal with.
link