🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2539

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

#2539
From: Dan Bernstein
Date: Sat, 22 Dec 1990 06:35
22 lines
1382 bytes
In article <4978@exodus.Eng.Sun.COM> chased@rbbb.Eng.Sun.COM (David Chase) writes:
> Ah, but that is not a C "function", but something else (a struct).

So what? Are we talking about real-world programming, or are we talking
about computer science?

> 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.

> Ugh.  Please read and think before posting, ok?  It says here that
> your message cost the net hundreds if not thousands of dollars to send
> everywhere.

I don't see what you contributed to the discussion. Are you paid to
write code, or to do computer science?

---Dan
Technical Details
Message-ID: <11465:Dec2206:35:4090@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <1990Dec19.222059.6878@mathrt0.math.chalmers.se> <19468:Dec2100:23:0790@kramden.acf.nyu.edu> <4978@exodus.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.lang.misc
Subject: Re: Look, Ma, I can dynamically compose functions in C!
Message-ID: <11465:Dec2206:35:4090@kramden.acf.nyu.edu>
Date: 22 Dec 90 06:35:40 GMT
References: <1990Dec19.222059.6878@mathrt0.math.chalmers.se> <19468:Dec2100:23:0790@kramden.acf.nyu.edu> <4978@exodus.Eng.Sun.COM>
Organization: IR
Lines: 22