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:
“Women ... are completely alone, though they were born and bred upon this soil, as if they belonged to another class in creation.”
—Jennie June Croly 18291901, U.S. founder of the womans club movement, journalist, author, editor. F, Demorests Illustrated Monthly Mirror of Fashions, pp. 363-4 (December 1870)
“Little minds mistake little objects for great ones, and lavish away upon the former that time and attention which only the latter deserve. To such mistakes we owe the numerous and frivolous tribe of insect-mongers, shell-mongers, and pursuers and driers of butterflies, etc. The strong mind distinguishes, not only between the useful and the useless, but likewise between the useful and the curious.”
—Philip Dormer Stanhope, 4th Earl Chesterfield (16941773)