News for hackers. Stuff that matters.
Re:Python iteration by krupan on Wednesday April 25, 2012 @04:30PM (#3890913)
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.
Re:Python iteration by ff0066mote on Wednesday April 25, 2012 @06:07PM (#3891366)
Here's a pile more to blow your mind with: http://www.dabeaz.com/coroutines/ [2009]