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:

    During the long ages of class rule, which are just beginning to cease, only one form of sovereignty has been assigned to all men—that, namely, over all women. Upon these feeble and inferior companions all men were permitted to avenge the indignities they suffered from so many men to whom they were forced to submit.
    Mary Putnam Jacobi (1842–1906)

    We are thus assisted by natural objects in the expression of particular meanings. But how great a language to convey such pepper-corn informations!
    Ralph Waldo Emerson (1803–1882)