# The Tao of Objects 1990 — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### Image 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-943bc487dc2225d165714539328d52aaf7aba8bb9b3db2ad7e52bd567813209c)

Transcribed text:

The Tao of Objects
A Beginner's Guide to Object-Oriented Programming
Featuring practical C++ and Turbo Pascal examples that explore the interface between real-world problems and OOP techniques.
Gary Entsminger
Introduction by Bruce Eckel
M&T BOOKS

Image description: A book cover with a large title at top, a red dotted rule, a woodcut-style illustration of two cupped hands holding a glowing orange cube beneath yellow stars on a blue night sky, and the M&T Books logo at bottom right.

Reading notes: Publisher logo text 'M&T BOOKS' is small and partly stylized; reading is approximate.

Languages: English

[Original Image 1](https://www.vintageapple.net/files/a22ffe70ca54b01e578cf160834af838256b7ea3e0cfb07ffd855df8df508bd1/4bd4f612e4b92272c3af6c37.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-0f46bfb5c0296d15c4f1799e15a1156572ef1c7cd1194a78cf1b9240ff076dee)

A Beginner's Guide to Object-Oriented Programming

Transcribed text:

t   .
e aoo   J eets A Beginner's Guide to   Object,Oriented   Programming
Featuring practical
C++ and Turbo
Pascal examples
that explore the
interface between
real,world
problems and   OOP
techniques.
Gary Entsminger
Introduction by Bruce Eckel
M&T
- ~

Reading notes: Supplied OCR text contains stray fragments ('t .', 'e aoo J eets') that may be scan noise rather than printed copy. Commas inside 'Object,Oriented' and 'real,world' are likely OCR artifacts for hyphens and should be verified against the image. The publisher mark 'M&T' is a short abbreviation whose full form is not shown in the supplied copy. 'C++' and 'Turbo Pascal' are programming languages named in the subtitle rather than advertised products, so listing them as productNames is uncertain.

Printed product names: Turbo Pascal · C++

Languages: English

[Original PDF page 1](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-68be59bd521de8cf125c4bc359c6ceccc1f2a158d76bcbb671dd8c29226b4448)

Image description: The image is a blank white page with no visible artwork, layout elements, or text.

Reading notes: No visible text found in the image; transcript and printed fields left empty.

[Original PDF page 2](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-43a93389630f29383b0ff60cabe82f460812ca6e1fc8e95bbb2c4eabd57a7831)

The Tao of Objects A Beginner's Guide to Object-Oriented Programming

Transcribed text:

The   Tao of Objects A Beginner's Guide to   Object ..   Oriented Programming
. . . . . .   . . . .   . .   .   . . . . . . . . . . . .   .   . . . . . . .   .
Gary Entsminger

Reading notes: Hyphenation in 'Object-Oriented' split across the source line as 'Object ..   Oriented'; reconstructed as Object-Oriented.

Languages: English

[Original PDF page 3](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-11c59b265925446ecfd8fc5a99ef5a9e8317622545d8d299a1ee26349fd206d8)

Transcribed text:

M&T   Books
A Division of   MIS:Press
A   Subsidiary of Henry Holt and Company, Inc.
115 West 18th   Street
New York, New York   10011
©   1990   by M&T Publishing, Inc.
Printed in the   United   States of America
All rights reserved.   No part of this book may be reproduced or transmitted in
any form or by any means, electronic or mechanical, including photocopying,
recording, or by any information storage and retrieval system, without prior
written permission from the   Publisher.   Contact the   Publisher   for information
on foreign rights.
Limits of Liability and Disclaimer of Warranty
The Author and Publisher of this book have used their best efforts in preparing
this book and the programs contained in it.   These efforts include tbe   devef-
opment, research, and testing of the theories and programs to determine their
effectiveness.
The Author and Publisher make no warranty of any kind, expressed or implied,
with regard to these programs or the documentation contained in this book.
The Author and   Publisher   shall not be liable in any event for incidental or
consequential damages in connection with, or arising out of, the furnishing,
performance, or use of these programs.
Library of Congress Cataloging-in-Publication Data
Entsminger, Gary,   1950-
The Tao of objects: a beginner's guide to object-oriented programming   I
Gary Entsminger
p.   cm.
Includes bibliographical references and index.
ISBN 1-55851-155-5
1. Object-oriented programming (Computer science)   I.   Title.
QA76.64.E58   1990
005.1-dc20
93   4
90-22920
CIP.
All products, names, and services are trademarks or registered trademarks of
their respective companies.
Project   Editor: Linda Comer   Cover Design: Lauren Smith Designs
Cover Illustration: Christine Mortensen   Inside Illustrations: Mike Sagara

Reading notes: Dates 1990 and 1950- are from copyright and cataloging data, not advertising Catalog number 90-22920 is a Library of Congress control number, not a date Source contains OCR-like artifacts such as 'tbe' and 'devef-opment' that may be damaged characters

Printed dates: 1990 · 1950- · 90-22920

Languages: English

[Original PDF page 4](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-38aca34595e7e46fc8c2e5a7b10e2b72a9e39c54d0cfaeccaea9b5e22c5cf1a5)

Image description: The image is an entirely blank white page with no visible artwork, layout, or text.

Reading notes: No visible text or graphics appear anywhere on the page, so the transcript and printed fields are empty.

[Original PDF page 5](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-aa377e574e4a0e88ffce6cd92d193406c6b47f1c66fbbd323a79624a58bfa0ec)

WHY THIS BOOK IS FOR YOU

Transcribed text:

Contents
WHY   THIS   BOOK   IS   FOR   YOU   ...........•••••............•..•.......•..........................••....•••....••   1
INTRODUCTION   BY   BRUCE   ECKEL ........................................................................3
CHAPTER 1: GREAT   JOURNEYS,   SINGLE   STEPS   ..........................................   17
About the Book .................................................................................................... 18
Choose Your Language ........................................................................................ 19
Objects   and Actions ............................................................................................. 21
A World of   Objects   .............................................................................................. 24
About Inheritance ................................................................................................. 25
Building a New Type ........................................................................................... 29
Inheritance Among   OOP   Languages ................................................................... 31
Overriding Behavior and Data ............................................................................. 31
About Polymorphism ........................................................................................... 32
Static   and Dynamic Binding ................................................................................ 36
Dynamic Programming ........................................................................................ 38
Another View ....................................................................................................... 39
Object   Types ........................................................................................................ 39
About Types ......................................................................................................... 42
Constructors and Destructors ............................................................................... 45
The Importance of Being Constructed ................................................................. 48
Messages ..............................................................................................................   49
CHAPTER 2:   THINKING   IN   OBJECTS   ..................................................................53
Complex Numbers ............................................................................................... 59
Operator Overloading in C++ ..............................................................................   60
Types, Not Individuals ......................................................................................... 61

Reading notes: Headline taken from the first contents entry; the extracted text is a table of contents rather than advertising copy.

Languages: English

[Original PDF page 6](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-d207ed85c1fe96d7532926dd50ed2fd4e894f8f07d82b67fa79a094ef84fec96)

THE TAO OF OBJECTS

Transcribed text:

THE   TAO   OF   OBJECTS
How Complex   Should   Objects   Be? ..................................................................... 62
Base and Abstract Types ...................................................................................... 63
Abstract vs. Concrete ........................................................................................... 67
Planning for Change ............................................................................................. 68
The   Trickle-Up   Theory ........................................................................................ 69
Objects, Classes, and Types .................................................................................   70
CHAPTER 3:   EXTENDING   THE   SYSTEM   .............................................................   73
Sketching Your   Objects   ....................................................................................... 79
Reusing Code .......................................................................................................   80
Choosing a First Application ............................................................................... 81
Checkers and Chess ............................................................................................. 82
Black Art .............................................................................................................. 86
Chaos Theory and   Strange   Attractors ..................................................................   90
Mathematic Attraction .........................................................................................   91
Inheriting   Strange   Attractors ................................................................................ 93
Display Window ..................................................................................................   94
State   Space   ........................................................................................................... 96
Model   =   State   Generator ......................................................................................   97
Where   OOP   Works Best ......................................................................................   99
Extending   Systems   .............................................................................................   100
CHAPTER 4:   SHAPING   THE   SYSTEM   ................................................................   111
Dynamics ........................................................................................................... 116
Constructors, Destructors, and Responsibility ................................................... 118
Managing From the Bottom   Up   .........................................................................   119
Tracing Through Pointers .................................................................................. 125
Some   Advantages ............................................................................................... 127
CHAPTER 5:   DYNAMIC   STYLE   ............................................................................   137
Expert   Systems   ...................................................................................................   140
OOP   in AI .......................................................................................................... 142
Frames vs.   Objects   ............................................................................................. 142
Finding the   Objects   ............................................................................................ 143
Programming for Change ................................................................................... 152

Languages: English

[Original PDF page 7](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-377a77e1bbe60ab5fcc1b0cd53d61bd9d86b1ef7ec80806c3c11e0f3b3a4f53b)

Transcribed text:

CONTENTS
CHAPTER 6: AN   OBJECT-ORIENTED   NEURAL   NETWORK   ....................... 165
Objects and Networks ........................................................................................ 169
Deriving New Networks .................................................................................... 176
Data Lists and Events ......................................................................................... 177
CHAPTER 7:   DESIGNING   WITH   OBJECTS   ..••••••.•...•.•............•...••••...•••.•.....•.....   191
An Alternative to Chaos ..................................................................................... 192
What's   Wrong   With This Picture? ..................................................................... 194
Programming for Change ................................................................................... 197
Object-Oriented   System   Design ......................................................................... 199
The Five   Stages   of   Object   Design ......................................................................   202
More on   Object   Discovery .................................................................................   204
An Example ........................................................................................................   205
The Object-Oriented Design   System   .................................................................   206
The Complexity Test .......................................................................................... 211
OOP   and   GUI   ..................................................................................................... 211
Libraries and Frameworks ................................................................................. 212
Skeptic's Comer ................................................................................................. 213
The   Art   of   Software   Design ............................................................................... 214
AFTERWORD BY   ZACK   URLOCKER   .••••••............••..•....•.•..•............••••..••.••..•....•.   217
APPENDIX A:   GLOSSARY   .....••••..•.•.•.•••••••..•......•••••........•....•...••••.....•..........••..••••.•   225
APPENDIX B: REFERENCES AND   RESOURCES   ••••........•.......•••..•.••.••.....•....•   237
APPENDIX C: A   CONCISE   COMPARISON   OF   C++,   TURBO   PASCAL,
AND   SMALL TALK .....................................................................................................243

Reading notes: Table of contents uses dot leaders and page numbers; some OCR-style spacing artifacts such as 'CHAPTER 7:   DESIGNING' and 'OBJECT-ORIENTED   NEURAL' appear in the source text.

Languages: English

[Original PDF page 8](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-0c25dc6f02ea0effdee4826621291ffdd17b412efb94496290e7e58f94c61c80)

Transcribed text:

Acknowledgements
I'd like to thank a few folks who've supported and advised me, offered
suggestions, read the manuscript, provided software, or just plain been helpful
during the writing of this book: Brenda McLaughlin and Linda Comer at M&T
Books; Zack   Urlocker,   David lntersimone, Nan Borreson, and Tammy Casey at
Borland International; J.D. Hildebrand and Larry   O'Brien   at   Computer Language;
Mike Aoyd at   Dr. Dobb'   s Journal;   Bill Gates at   Midnight Engineering;   and Susan
Allen, Billy Barr, and Alison Brody at the Rocky Mountain Biological Laboratory.
I especially thank Bruce Eckel, Chester Anderson, and Larry Fogg for the many
hours of discussions and idea exchanges while I was planning and writing. I can't
wait to see what you three do next.
Small portions of this book first appeared in different form in   Al   Expert,
Computer Language, Dr. Dobb'   s   Journal, Micro Cornucopia,   and   Neural Network
News.
The quotes by Lao-tzu from   The Tao Te Ching   are from the Stephen Mitchell
translation (Harper & Row, New York, N.Y., 1988).
The quote by Douglas Hofstadter and Daniel Dennett is from   The Mind's I
(Bantam Books, New   York,   N.Y.,   1981).
The quotes by Fritjof Capra are from   The Tao ofPhysics   (Shambhala, Berkeley,
Calif., 1975).
The quote by Riane Eisler is from   The Chalice and the Blade   (Harper & Row,
San Francisco, Calif., 1987).
The quote by David Rumelhart and James McClelland is from   Parallel Dis-
tributed Processing   (MIT Press, Cambridge, Mass., 1987).
The inside illustrations are based on photographs by Chester Anderson.

Reading notes: Source appears to be a book acknowledgements page rather than an advertisement, so no headline or advertised products or prices are present Some OCR spacing artifacts in titles such as 'Dr. Dobb' s Journal' and 'The Tao ofPhysics'

Printed dates: 1975 · 1981 · 1987 · 1988

Languages: English

[Original PDF page 9](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-54509d26e668454ffd0727cfde99bb97a7505fda3d39f13b35d0e5eda62c62a8)

Why This Book is For You

Transcribed text:

Why This   Book is For You
This book can help you understand the key concepts of object-oriented pro-
gramming. It's written for C and   Pascal   programmers who want to know how they
can rethink their programs using objects.
The Tao of Objects   is a friendly, hands-on book that emphasizes the key
advantages of programming with objects. The examples in the book are general
enough to be of interest to anyone -   and they 're fun.
Subjects of particular interest include:
•   Object-oriented design
•   Program   extension
•   Modeling systems
•   Chaos theory and strange attractors
•   Linked lists
•   Expert systems
and much more. All examples are given in both C++ and Turbo Pascal, the object-
oriented successors to C and   Pascal.
If   you 're a C or   Pascal   programmer who wants a gentler introduction to object-
oriented programming than a computer manual can provide, this book is for you.
1

Printed product names: Turbo Pascal · C++

Languages: English

[Original PDF page 10](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/1#scan-ecb964439173817713c4bff401a6046fe39f2435feb232bd0dd784ce4478157c)

Transcribed text:

Introduction
Expressing the ideas of object-oriented programming in terms of an Eastern
philosophy is a wonderful concept. Gary and I spent many days in the woods and the
mountains and many hours on the phone working on this view. Time being what it
is (fleeting), I found I didn't have enough, and the book became Gary's. However,
I hope I can make additional contributions in this introduction by raising some of the
issues I feel are important.
When I explained   OOP   to my friend Mark (a psychologist), he replied   "I   don't
understand -   how else would you do it? How were they doing it   before?"   I found
I was at a loss to describe the old way. I mean, I practiced procedural programming
and all that, but it never really made sense to me- it never seemed   whole.   In fact,
I never took programming that seriously before   OOP,   probably because it seemed to
take too much effort to get the job done. Because I can now think in much more
powerful terms, I can solve much more complex problems.
One   difficulty people have when learning object-oriented programming is
finding a way to think about it.   Often   you hear such unhelpful things as   "It's   easier
for someone who doesn   'tknow how to program to learn   OOP   than for an experienced
programmer"   or   "You   need to unlearn what you   know."   My personal experience has
not supported this. Although thinking about objects is different from thinking about
procedural programming, it's different because you're stepping into a larger world,
not because everything you know is wrong. This is especially true with hybrid
languages like C++ and Turbo Pascal; you'll see that the ability to create user-
defined data types isn't such a radical idea, since you use data types so much that you
usually don't even think about them. However, it does tend to highlight the
limitations of the built-in types and (to my mind) the relative primitiveness of what
we've been using as programming languages so far.   Once   you begin using an object-
oriented language, it's hard to go back.
3

Printed product names: C++ · Turbo Pascal

Languages: English

[Original PDF page 11](https://www.vintageapple.net/files/7102af31de03dd93db327077973d96758327f09f6432c8eb128ee82e7a90a93f/The_Tao_of_Objects_1990.pdf#page=11)

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-the-tao-of-objects-1990-d89b04/2.md)
