| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Variables and closures (Was: Objects and Relations)
Marshall wrote:
> On Feb 9, 3:38 pm, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
>
>>Marshall wrote: >> >> >>>http://en.wikipedia.org/wiki/First-class_object >> >>>(The word "object" in the title above is the generic >>>sense of the word, not the OOPL sense.) >> >>I respectfully suggest that variables are first-class in C++ (if not >>Java.) They certainly are in C--at least by the description given in the >>wikipedia article you cite.
One can also cast an arbitrary int to a pointer to any kind of variable in C.
>>(Aside: Clicking through to the part wikipedia claims is about databases >>shows plenty of horseshit ends up in wikipedia. I don't see how an >>employment contract is any less "first class" than a company or an >>employee.)
>>>In SML, the notion of a name and the notion of a >>>variable are completely decoupled. Names >>>are always bound to constants, however that >>>constant might be the identity of a variable. >> >>>Relational language discussions generally omit the >>>notion of first class variables, because they aren't >>>a great fit with relational semantics. >> >>I disagree. TTM is quite explicit that the only first class variables >>are relvars, is it not?
Hmmmm... I really have to find the time to go spelunking thru the SML world. Received on Fri Feb 09 2007 - 19:17:53 CST
![]() |
![]() |