Re: What databases have taught me

From: Robert Martin <unclebob_at_objectmentor.com>
Date: Wed, 28 Jun 2006 08:28:19 -0700
Message-ID: <2006062808281938165-unclebob_at_objectmentorcom>


On 2006-06-23 08:53:00 -0700, "topmind" <topmind_at_technologist.com> said:

> [OO] is just a bunch of nodes (objects) with pointers to
> link them up, a big graph. Relational offers the chance to bring
> discipline to relationships. It may not be perfect, but better than
> dealing with raw graphs.

OO is not just a bunch of nodes with pointers. You can do that in raw C without OO. OO *adds* dynamic polymorhism to the mix, which means that the runtime graph, can be very different from the source code graph. OO allows dependencies within the graph to be inverted from the source code viewpoint. This means that from the source code view you don't have a graph at all; rather you have a suite of many tiny graphlets all seemingly independent of each other.

-- 
Robert C. Martin (Uncle Bob)  | email: unclebob_at_objectmentor.com
Object Mentor Inc.            | blog:  www.butunclebob.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  |
Received on Wed Jun 28 2006 - 17:28:19 CEST

Original text of this message