Logo Data Structures and Algorithms with Object-Oriented Design Patterns in C++
next up previous contents index

Approach

One cannot learn to program just by reading a book. It is a skill that must be developed by practice. Nevertheless, the best practitioners study the works of others and incorporate their observations into their own practice. I firmly believe that after learning the rudiments of program writing, students should be exposed to examples of complex, yet well-designed program artifacts so that they can learn about the designing good software.

Consequently, this book presents the various data structures and algorithms as complete C++ program fragments. All the program fragments presented in this book have been extracted automatically from the source code files of working and tested programs.

The full functionality of the proposed draft ANSI standard C++ language is used in the examples--including templates, exceptions and run-time type information[3]. It has been my experience that by developing the proper abstractions, it is possible to present the concepts as fully functional programs without resorting to pseudo-code or to hand-waving.


next up previous contents index

Bruno Copyright © 1997 by Bruno R. Preiss, P.Eng. All rights reserved.