Encyclopedia > First-class

  Article Content

First-class

In computer science, values may be of first-class, second-class, or third-class:

assignablepassable as
parameter
passable as
return value[?]
First-classyesyesyes
Second-classyesyesno
Third-classyesnono

In many programming languages, labels are third-class values while numerical values are first-class values. A few languages use this kind of exact distinction.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Canadian Music Hall of Fame

... 1981 Joni Mitchell 1982 Neil Young 1983 Glenn Gould 1986 Gordon Lightfoot 1987 The Guess Who[?] 1989 The Band 1990 Maureen Forrester[?] 1991 Leonard ...

 
 
 
This page was created in 22.2 ms