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:

    Class is rarely talked about in the United States; nowhere is there a more intense silence about the reality of class differences than in educational settings.
    bell hooks (b. c. 1955)

    By degrees we may come to know the primitive sense of the permanent objects of nature, so that the world shall be to us an open book, and every form significant of its hidden life and final cause.
    Ralph Waldo Emerson (1803–1882)