Re: OOP - a question about database access

From: Uncle Bob (Robert C. Martin) <"Uncle>
Date: Thu, 06 Nov 2003 13:27:32 -0600
Message-ID: <6o7lqv4houcmfpqi1s8o70ejk0luo6l2fu_at_4ax.com>


Christopher Browne <cbbrowne_at_acm.org> might (or might not) have written this on (or about) 6 Nov 2003 03:49:53 GMT, :

>It is _convenient_ to pretend that you can fit of the aspects of the
>system into some notion of "rooms," so that you can keep building
>things on by throwing on an extra room here and there.

In construction work that kind of evolutionary architecture can be very expensive to maintain. Expanding foundations and infrastructure is hard, when concrete and jackhammers are the tools. But in software the cost of evolutionary architecture is much lower. If you are careful with the way you write the code you really can make sweeping changes to the architecture without exorbitant costs.

In any case the building analogy breaks down at nearly the first step. For example, are the blueprints of software the diagrams that precede code; or is the code the blueprints. There are good arguments on both sides.

Robert C. Martin    | "Uncle Bob"                   
Object Mentor Inc.  | unclebob _at_ objectmentor . com
501 N. Riverside Dr.| Tel: (800) 338-6716         
Suite 206           | Fax: (847) 775-8174           | www.objectmentor.com
                    |                               | www.XProgramming.com
Gurnee, IL,         | Training and Mentoring        | www.junit.org
60031               | OO, XP, Agile, C++, Java, C#  | http://fitnesse.org
Received on Thu Nov 06 2003 - 20:27:32 CET

Original text of this message