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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: fac41,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: 1014db,3d3f20d31be1c33a X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,2c6139ce13be9980 X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public From: ell@access5.digex.net (Ell) Subject: Re: Is ADA as good for graphics programming as C? (WAS: Re: Avoiding the second historic mistake) Date: 1997/07/22 Message-ID: <5r16ea$bpq$1@news2.digex.net>#1/1 X-Deja-AN: 258066735 Followup-To: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel,comp.lang.c,comp.lang.c++ Organization: The Universe Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel,comp.lang.c,comp.lang.c++ Date: 1997-07-22T00:00:00+00:00 List-Id: Robert C. Martin (rmartin@oma.com) wrote: : : Matthew Heaney wrote: : > : > Oh, yes, I know the argument: Humans use classification to simplify things, : > so we should use classification to build software, blah blah blah. Well : > here's the real scoop: humans use _abstraction_ to simplify their world. : > Humans view and build systems as multi-level, heirarchical structures, : > using _aggregation_. So why build software systems any differently? : I sympathize with this point of view. But let me add a bit more to : the heresy. Inheritance, as defined in OO languages, *is* a form of : composition! A derived class is *composed* of its base class along : with any other elements unique to the derivative. What's so heretical about using aggregation in OO? That's what MS COM technology is based on. BTW, you try to make it seem that you are holding a noble viewpoint worth adopting in the face of the OO establishment. But in fact diving right into coding without holistic analysis, taking a piecemeal approach, and not fully basing oneself in the domain model have been widely practiced in software development by hackers and Coboy Coders everywhere for years and years. Elliott -- "The domain object model is the foundation of OOD." "We should seek out proven optimal practices and use them." ~~ The writer