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:
“There might be a class of beings, human once, but now to humanity invisible, for whose scrutiny, and for whose refined appreciation of the beautiful, more especially than for our own, had been set in order by God the great landscape-garden of the whole earth.”
—Edgar Allan Poe (18091849)
“Let the maiden, with erect soul, walk serenely on her way, accept the hint of each new experience, search in turn all the objects that solicit her eye, that she may learn the power and charm of her new-born being, which is the kindling of a new dawn in the recesses of space.”
—Ralph Waldo Emerson (18031882)