FAQ

On Wednesday, July 29, 2015 at 4:37:22 AM UTC+5:30, Ian wrote:
I don't entirely disagree. I think that the implementation of async
coroutines on top of synchronous coroutines on top of generators is
overly clever and results in a somewhat leaky abstraction and a fair
amount of confusion.

Hear Hear!


I think the 'overly clever' started with yield becoming an expression.
At an operational level coroutines and generators are very similar
At a conceptual level they are quite apart: coroutines generalize subroutines
whereas generators generalize lists to possibly infinite, possibly incomplete
lists

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 7 of 23 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedJul 21, '15 at 11:31a
activeAug 2, '15 at 12:50a
posts23
users6
websitepython.org

People

Translate

site design / logo © 2018 Grokbase