From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,b87849933931bc93 X-Google-Attributes: gidf43e6,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public From: rmartin@oma.com (Robert C. Martin) Subject: Re: What is wrong with OO ? Date: 1996/12/19 Message-ID: #1/1 X-Deja-AN: 205036782 references: <58aj6t$1ch@news3.digex.net> <32B54439.26E@calfp.co.uk> <32B7C305.3970@calfp.co.uk> organization: Object Mentor Inc. newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object,comp.software-eng Date: 1996-12-19T00:00:00+00:00 List-Id: In article <32B7C305.3970@calfp.co.uk>, Nick Leaton wrote: > Robert C. Martin wrote: > > I agree that the dependency is one way. But the direction is towards the > > architecture. Classes belong to architectures; they conform to the rules > > and protocols that those architectures demand. > > I suspect that there is a difference of understanding of the word > 'architecture' My understanding is the framework that glues classes > together. That is also my definition. > > If you believe that architecture comes first, how do people design and > code lower level libraries, that don't in themselves do anything, unless > they are part of an architecture? When they are designed, the > architectures in many case have not been designed. Architectures often arise out of humble beginnings. One might design a small libarary of utilities and then discover an abstraction that makes that library easier for users to use. That abstraction becomes part of the architecture. The library may have come first, and have seeded the architecture. That's not always the way it works, but sometimes it does. Other times the architecture is born before the libraries are fleshed out. -- Robert C. Martin | Design Consulting | Training courses offered: Object Mentor | rmartin@oma.com | Object Oriented Design 14619 N Somerset Cr | Tel: (847) 918-1004 | C++ Green Oaks IL 60048 | Fax: (847) 918-1023 | http://www.oma.com "One of the great commandments of science is: 'Mistrust arguments from authority.'" -- Carl Sagan