Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!apple!agate!shelby!unix!garth!smryan From: smryan@garth.UUCP (Steven Ryan) Newsgroups: comp.lang.misc Subject: Re: Look, Ma, I can dynamically compose functions in C! Message-ID: <44@garth.UUCP> Date: 7 Jan 91 19:24:43 GMT References: <1990Dec19.222059.6878@mathrt0.math.chalmers.se> <19468:Dec21 Reply-To: smryan@garth.UUCP (Steven Ryan) Organization: INTERGRAPH (APD) -- Palo Alto, CA Lines: 16 Well, just to throw another bucket muck in the sewer, >> You have not contradicted Lennart's assertion, >> which is that functions in C are not first class objects. > >Dave Gudeman already contradicted it. Functions (which the C language >calls ``function pointers'') are first-class objects by the usual >definition, because they can be passed as arguments and assigned to >variables. and only because they cannot be nested so that their closure only consists of static variables. I'd like to see you be so casual about calling procedures first class objects when their closures include local variables. -- ...!uunet!ingr!apd!smryan Steven Ryan ...!{apple|pyramid}!garth!smryan 2400 Geng Road, Palo Alto, CA