Ruby and Python
Philip 'Yes, that's my address' Newton
nospam.newton at gmx.li
Mon Nov 20 15:31:46 EST 2000
On Sun, 19 Nov 2000 21:45:36 -0500, graham <graham73 at telocity.com> wrote:
> Jeremy Hylton
> > The normal definition of "first class" is an object that can be named
> > and treated as data at runtime. A first class object can be bound to a
> > variable name, passed as an argument to a function, or returned from a
> > function. The term has nothing to do with scoping rules.
>
> So by this definition C has first class functions. Does it?
No. You can only do all the above with pointers to functions, not with functions
themselves.
Cheers,
Philip
--
Philip Newton <nospam.newton at gmx.li>
If you're not part of the solution, you're part of the precipitate.
More information about the Python-list
mailing list