Preface

Many C++ or Java textbooks, courses, and class libraries emphasize object-oriented classes for two kinds of data:

• one-dimensional containers (Java collections), such as vectors, lists, and sets

• graphical user interface (GUI) components, such as windows, forms, and menus

However, most of the data items our programs process belong to neither of those categories. Container structures and GUI components rarely belong to the application domain. They don’t represent actual objects in the real world of a business or science application. True application-domain objects model real-world data items at the core of the very purpose behind developing a computer application.1

1 Application-domain objects are sometimes misleadingly called “business ...

Get Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.