company logo

class function

Class functions are functions, which are implemented in the context of a structure (class). In contrast to class expressions, class functions are usually implemented and compiled for a specific language. The main difference between class functions and expressions is efficiency.

Class functions can be overloaded depending on the implementation environment by function name or by function name and parameter list.

Generalisations:  class method