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:

    “You must drop all your democracy. You must not believe in “the people.” One class is no better than another. It must be a case of Wisdom, or Truth. Let the working classes be working classes. That is the truth. There must be an aristocracy of people who have wisdom, and there must be a Ruler: a Kaiser: no Presidents and democracies.”
    —D.H. (David Herbert)

    “Women have seldom sufficient employment to silence their feelings; a round of little cares, or vain pursuits frittering away all strength of mind and organs, they become naturally only objects of sense.”
    —Mary Wollstonecraft (1759–1797)