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:
“Mankind divides itself into two classes,benefactors and malefactors. The second class is vast, the first a handful.”
—Ralph Waldo Emerson (18031882)
“Change begets change. Nothing propagates so fast. If a man habituated to a narrow circle of cares and pleasures, out of which he seldom travels, step beyond it, though for never so brief a space, his departure from the monotonous scene on which he has been an actor of importance would seem to be the signal for instant confusion.... The mine which Time has slowly dug beneath familiar objects is sprung in an instant; and what was rock before, becomes but sand and dust.”
—Charles Dickens (18121870)