generator/coroutine terminology
Rustom Mody
rustompmody at gmail.com
Mon Mar 16 23:18:03 EDT 2015
On Tuesday, March 17, 2015 at 8:37:25 AM UTC+5:30, Mark Lawrence wrote:
> >
> > Ok Let me throw out a suggestion:
> > - potato is a generator
> > - tomato is a cursor.
> > Acceptable?
> >
>
> No. In Python potato is a generator function, tomato is a generator.
> Why complicate something that is so simple? I couldn't care less what
> they are called in any other language.
Ok so lets see...
https://docs.python.org/3.4/tutorial/classes.html#generators
https://docs.python.org/3.4/glossary.html#term-generator
Are these consistent with (your notion of) python?
Maybe they are "any other language"?
More information about the Python-list
mailing list