Adapting Class/object Interfaces
Wrapper functions can be used to adapt an existing class or object to have a different interface. This is especially useful when using existing library code.
Read more about this topic: Wrapper Function
Famous quotes containing the words adapting, class and/or object:
“To invent without scruple a new principle to every new phenomenon, instead of adapting it to the old; to overload our hypothesis with a variety of this kind, are certain proofs that none of these principles is the just one, and that we only desire, by a number of falsehoods, to cover our ignorance of the truth.”
—David Hume (17111776)
“There is still the feeling that womens writing is a lesser class of writing, that ... what goes on in the nursery or the bedroom is not as important as what goes on in the battlefield, ... that what women know about is a less category of knowledge.”
—Erica Jong (b. 1942)
“Parenthood is not an object of appetite or even desire. It is an object of will. There is no appetite for parenthood; there is only a purpose or intention of parenthood.”
—R.G. (Robin George)