Archive for the ‘C++’ Category
C++ Design Patterns
Anyone who is not already familiar with design patterns may, after a brief survey of the field, come away with the impression that design patterns are a lot of marketing hype, are just some simple coding techniques, or are the playthings of computer scientists who really should get out more. While each of these impressions [...]
Posted on Sep 29, 2008
C++ Data Abstraction & Polymorphism
Data Abstraction
A “type” is a set of operations, and an “abstract data type” is a set of operations with an implementation. When we identify objects in a problem domain, the first question we should ask about them is, “What can I do with this object?” not “How is this object implemented?” Therefore, if a natural [...]
Posted on Sep 29, 2008

