Template Method Pattern

In software engineering, the template method pattern is a behavioral design pattern that defines the program skeleton of an algorithm in a method, called template method, which defers some steps to subclasses. It lets one redefine certain steps of an algorithm without changing the algorithm's structure. This use of "template" is unrelated to C++ templates.

Read more about Template Method Pattern:  Introduction, Usage

Famous quotes containing the words method and/or pattern:

    “Frankly, I adore your catchy slogan, “Adoption, not Abortion,” although no one has been able to figure out, even with expert counseling, how to use adoption as a method of birth control, or at what time of the month it is most effective.”
    —Barbara Ehrenreich (b. 1941)

    “The kind of relatedness to the world may be noble or trivial, but even being related to the basest kind of pattern is immensely preferable to being alone.”
    —Erich Fromm (1900–1980)