Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
krupan
· 14y ago · 0 comments
First examples of generators that I've seen that made them look useful. I'd never thought of using a generator as a filter, or for turning nested for-loops into one for-loop. I have some code I can go clean up now.
Comments
[–]
ff0066mote
14y ago
Here's a pile more to blow your mind with:
http://www.dabeaz.com/coroutines/
[2009]