Y
Hacker News
new
|
ask
|
show
|
jobs
by
wvenable
1896 days ago
If you are using a language with yield you can make this simpler (and more flexible) by using a generator.