1. Numeric Objects in Context

1.1. Data and objects

This chapter is about data. A solid understanding of data is not only vital to applying the object-oriented paradigm, it is a valuable aid to all kinds of data analysis and programming. A programmer who tries to develop application software without mastering these concepts is at a serious disadvantage.

I first examine the top levels of the natural hierarchy or taxonomy of data types. This natural taxonomy is not directly supported by any programming language, nor have the names of the types been legitimized by any standards body or other influential organization. Don’t try to figure out which built-in data type in C or any other programming language corresponds to each of the natural types ...

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.