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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f70e76a7cef942c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-30 07:36:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr30.news.prodigy.com.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <3c075b22@pull.gecm.com> <9u851b$7d$1@nh.pace.co.uk> Subject: Re: C v C++ X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: NNTP-Posting-Host: 208.191.176.121 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr30.news.prodigy.com 1007134505 ST000 208.191.176.121 (Fri, 30 Nov 2001 10:35:05 EST) NNTP-Posting-Date: Fri, 30 Nov 2001 10:35:05 EST Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: Q[R_PJSCTS@USVT^ORHL_IXBUSXHQD\MNPWZKB]MPXHDUWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C@E[A_CF\AQLDQ\BTMPLDFNVUQ_VM Date: Fri, 30 Nov 2001 15:35:05 GMT Xref: archiver1.google.com comp.lang.ada:17223 Date: 2001-11-30T15:35:05+00:00 List-Id: "Marin David Condic" wrote in message news:9u851b$7d$1@nh.pace.co.uk... > Code bloat seems to me to be (at least in part) a consequence of Object > Oriented Design. I recall hearing someone at a TriAda conference years ago > describing OOD as: "If you want a banana, you have to take the whole > gorilla." You may gain something with OOD, but you sacrifice something for > it as well. I'd see this as a problem for both Ada95 and C++ when you use > the OO model so I would be reluctant to pick on C++ for it. For poorly-done OOD, yes. Otherwise I do not find it inherent. There certainly is the school of thought that absolutely every "class" must be perfectly complete for every conceivable use, and for some things I buy that and it could be a factor, but in general I do not. In the bad old days there was no way to remove unused routines, so all the code in a package would be included in the executable -- and that can certainly lead to bloat -- but those days are gone. For my 2 cents code bloat is a result of poor design and poor management (e.g. feature/requirements creep). -- --- Patrick Rogers Consulting and Training in: http://www.classwide.com Real-Time/OO Languages progers@classwide.com Hard Deadline Schedulability Analysis (281)648-3165 Software Fault Tolerance