first-class object

Definition from Wiktionary, the free dictionary
Jump to: navigation, search



first-class object (plural first-class objects)

  1. (programming, languages) An entity that can be constructed at run-time, passed as a parameter, returned from a subroutine, or assigned into a variable.
  2. (programming, languages) An entity that can pass a value as a parameter, can be returned from a subroutine, and can be assigned into a variable. (This is the definition according to Raphael Finkel, who uses the terms of second- and third-class objects.)


Related terms[edit]