Aahz wrote: > Hmmmm... I'm surprised that you're surprised. Yeah, I see now that I was somewhat naive... > Here's my slide from > OSCON2002: > > Generators simpler > No need to explicitly maintain state [ ... ] Well, in this particular example no state is maintained in either version. Generators are simply a higher level way of building an iterator, because there's no need to explicitly raise StopIteration. Just
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4