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)
“In verity ... we are the poor. This humanity we would claim for ourselves is the legacy, not only of the Enlightenment, but of the thousands and thousands of European peasants and poor townspeople who came here bringing their humanity and their sufferings with them. It is the absence of a stable upper class that is responsible for much of the vulgarity of the American scene. Should we blush before the visitor for this deficiency?”
—Mary McCarthy (19121989)
“When an irresistible force such as you meets an old immovable object like me.”
—Johnny Mercer (19091976)