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:
“... social evils are dangerously contagious. The fixed policy of persecution and injustice against a class of women who are weak and defenseless will be necessarily hurtful to the cause of all women.”
—Fannie Barrier Williams (18551944)
“My image is a statement of the symbols of the harsh, impersonal products and brash materialistic objects on which America is built today. It is a projection of everything that can be bought and sold, the practical but impermanent symbols that sustain us.”
—Andy Warhol (19281987)