First-class Citizen - Second and Third Class Objects

Second and Third Class Objects

Raphael Finkel offers definitions of second and third class objects (or, as he calls them, values). However, his definition of "first class object" is contrary to other authors': specifically, he does not require run-time constructability, so he would consider C functions to be first-class.

Manipulation First Second Third
Pass value as a parameter yes yes no
Return value from a procedure yes no no
Assign value into a variable yes no no

Read more about this topic:  First-class Citizen

Famous quotes containing the words class and/or objects:

    I never feel so conscious of my race as I do when I stand before a class of twenty-five young men and women eager to learn about what it is to be black in America.
    Claire Oberon Garcia, African American college professor. As quoted in the Chronicle of Higher Education, p. B3 (July 27, 1994)

    All good music resembles something. Good music stirs by its mysterious resemblance to the objects and feelings which motivated it.
    Jean Cocteau (1889–1963)