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
Holtsville, New York

... 18, 7.5% from 18 to 24, 33.5% from 25 to 44, 23.9% from 45 to 64, and 6.9% who are 65 years of age or older. The median age is 34 years. For every 100 females there are ...

 
 
 
This page was created in 53.1 ms