Category
page 1Method (computer programming)
factory method pattern
creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created
method
computer function or subroutine that is tied to a particular instance or class
constructor
special method used for initializing a newly allocated object in object-oriented programming
destructor
special method in object-oriented programming which is called deterministically to perform cleanup just before the object is deallocated
template method pattern
behavioral design pattern in object-oriented programming which defines the high-level skeleton of an operation to be implemented by helper methods
virtual function
inheritable and overridable function or method for which dynamic dispatch is facilitated
function overloading
in computer programming, creation of multiple function implementations with the same name
dynamic dispatch
process of selecting which implementation of a polymorphic operation (method or function) to call at run time
method overriding
language feature in object-oriented programming
multiple dispatch
feature of some programming languages
virtual method table
type of table used in computer programming
mutator method
also called: setter method
copy constructor
constructor that initializes an object by copying the state of another object of the same type
default constructor
constructor automatically defined in the absence of any other constructor
Dispatch table
Computer code structure with a table of pointers to functions or similar
finalizer
In computer science, a finalizer or finalize method is a special method that performs finalization, generally some form of cleanup. A finalizer is executed during object destruction, prior to the object being deallocated, and is complementary to an initializer, which is executed during object creation, following allocation. Finalizers are strongly discouraged by some, due to difficulty in proper use and the complexity they add, and alternatives are suggested instead, mainly the dispose pattern (see problems with finalizers).
double dispatch
Feature in programming languages
extension method
in object-oriented programming, a method added to an object after the original object was compiled