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:

    It is my conviction that in general women are more snobbish and class conscious than men and that these ignoble traits are a product of men’s attitude toward women and women’s passive acceptance of this attitude.
    Mary Barnett Gilson (1877–?)

    Culture relates to objects and is a phenomenon of the world; entertainment relates to people and is a phenomenon of life.
    Hannah Arendt (1906–1975)