What does "first class" mean?

Samuel A. Falvo II kc5tja at garnet.armored.net
Sun Apr 30 20:23:29 EDT 2000


>You can't return functions in C, or have arrays of functions, etc.
>Pointers to functions, yes.

But semantically, they are complete equivalent.  If I call:

	NoOp *pNOPFunction;
	
	pNOPFunction = Foo();
	pNOPFunction();	/* <-- legal ANSI C! */

-- 
KC5TJA/6, DM13, QRP-L #1447
Samuel A. Falvo II
Oceanside, CA



More information about the Python-list mailing list