Samuele Pedroni <pedronis at strakt.com> writes: > Michael Hudson wrote: > >> The history of iterators and generators could be summarized by >> saying that an API was invented, then it turned out that in practice >> one way of implementing them -- generators -- was almost universally >> useful. >> >> This proposal seems a bit like an effort to make generators good at >> doing something that they aren't really intended -- or dare I say >> suited? -- for. The tail wagging the dog so to speak. >> > it is fun because the two of us sort of already had this discussion in > compressed form a lot of time ago: Oh yes. That was the discussion that led to PEP 310 being written. > http://groups-beta.google.com/groups?q=with+generators+pedronis&hl=en At least I'm consistent :) > not that I was really conviced about my idea at the time which was > very embrional, and in fact I'm bit skeptical right now about how > much bending or not of generators makes sense, especially for a > learnability point of view. As am I, obviously. Cheers, mwh -- Arrrrgh, the braindamage! It's not unlike the massively non-brilliant decision to use the period in abbreviations as well as a sentence terminator. Had these people no imagination at _all_? -- Erik Naggum, comp.lang.lisp
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