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 is a struggle between the Oriental and the Occidental in every nation; some who would be forever contemplating the sun, and some who are hastening toward the sunset. The former class says to the latter, When you have reached the sunset, you will be no nearer to the sun. To which the latter replies, But we so prolong the day.”
—Henry David Thoreau (18171862)
“I was afraid that by observing objects with my eyes and trying to comprehend them with each of my other senses I might blind my soul altogether.”
—Socrates (469399 B.C.)