🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2614

Re: Look, Ma, I can dynamically compose functions in C!

#2614
From: Steven Ryan
Date: Mon, 07 Jan 1991 19:24
16 lines
1278 bytes
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
Technical Details
Message-ID: <44@garth.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!apple!agate!shelby!unix!garth!smryan
References: <1990Dec19.222059.6878@mathrt0.math.chalmers.se> <19468:Dec21

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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