Book description
This is the digital version of the printed book (Copyright
2007).
Virtually all business, scientific, and engineering applications
are heavily reliant on numeric data items. C++ and Java offer
object-oriented programmers unique flexibility and control over the
computations required within such applications.
However, most books on object-oriented programming gloss over such
numeric data items, emphasizing instead one-dimensional containers
or collections and components of the graphical user
interface.
Object-Oriented Computation in C++ and Java fills the
gap left by such books.
Drawing on more than twenty years' experience as a software
developer, tester, consultant, and professor, Conrad Weisert shows
readers how to use numeric objects effectively.
Not limited to any language or methodology, the concepts and
techniques discussed in this book are entirely independent of one's
choice of design and coding methodology.
Practitioners of Extreme Programming, UML-driven design, agile
methods, incremental development, and so on will all develop these
same data classes.
Whether you are a seasoned professional or an advanced computer
science student, this book can teach you techniques that will
improve the quality of your programming and the efficiency of your
applications. The exercises (and answers) presented in this book
with teach you new ways to implement the computational power of
C++, Java, and numeric data items.
Topics include
taxonomy of data types
developing and using object-oriented classes for numeric data
design patterns for commonly occurring numeric data types
families of interacting numeric data types
choosing efficient and flexible internal data representations
techniques for exploiting pattern reuse in C++
conventions for arithmetic operations in Java
numeric vectors and matrices
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Also Available from Dorset House Publishing
- Acknowledgments
- Contents
- Preface
- Introduction
- 1. Numeric Objects in Context
-
2. Review of C++ and Java Facilities and Techniques for Defining Classes
- 2.1. Our emphasis
- 2.2. The basic goal—a major difference between C++ and Java
- 2.3. Constructors and destructor
- 2.4. Operator overloading in C++
- 2.5. Operator overloading in Java
- 2.6. Flow-control constructs
- 2.7. Manipulating character strings in C++
- 2.8. Canonical class structure
- 2.9. Overcoming macrophobia
- 2.10. Program readability
- 2.11. Error detection and exceptions
- 3. Defining a Pure Numeric Data Type
- 4. Defining a Numeric Type Having an Additive Unit of Measure
- 5. The Point-Extent Pattern for Pairs of Numeric Types
- 6. Families of Interacting Numeric Types
- 7. Role of Inheritance and Polymorphism with Numeric Types
- 8. Programming with Numeric Vectors and Matrices
- Appendix: Answers to Selected Exercises
- Index
Product information
- Title: Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing
- Author(s):
- Release date: July 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133489262
You might also like
book
Object-oriented Programming Using C++ and Java
This book offers contemporary, comprehensive and in-depth coverage of all the concepts of object-oriented technologies, with …
book
Practical C++ Design: From Programming to Architecture
Go from competent C++ developer to skilled designer or architect using this book as your C++ …
book
Qt5 C++ GUI Programming Cookbook - Second Edition
Use Qt 5 to design and build functional, appealing, and user-friendly graphical user interfaces (GUIs) for …
book
Hands-On Design Patterns with C++
A comprehensive guide with extensive coverage on concepts such as OOP, functional programming, generic programming, and …