What's the difference between generating a value and returning a value?

alex23 wuwei23 at gmail.com
Tue Mar 24 07:38:23 CET 2009

On Mar 24, 3:10 pm, John Yeung <gallium.arsen... at gmail.com> wrote:
> In my opinion, it's especially poor form to use the term
> "generate" in that context when the language you are using to explain
> these concepts has very specific things called "generators".

In its defense, I'm pretty sure 'How to Think Like a Computer
Scientist' predates the introduction of generators to Python.

More information about the Python-list mailing list