Encyclopedia > Generic function

  Article Content

Generic function

In certain systems for object-oriented programming such as the Common Lisp Object System and Dylan, a generic function is an entity made up of all methods having the same name. Generic functions correspond roughly to what Smalltalk calls messages; but when a generic function is called, method dispatch occurs on the basis of all arguments, not just a single privileged one. See under multiple dispatch for more.



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

... the population is spread out with 20.6% under the age of 18, 5.0% from 18 to 24, 26.8% from 25 to 44, 27.7% from 45 to 64, and 19.9% who are 65 years of age or older. The ...

 
 
 
This page was created in 30.4 ms