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_40,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: 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: OO, C++, and something much better! Date: 1997/01/30 Message-ID: #1/1 X-Deja-AN: 213285316 references: <32ED02EE.22E2@netright.com> <32ED2448.685A@parcplace.com> <32EE20A3.755D@netright.com> <5cm364$dc2@topdog.cs.umbc.edu> organization: Object Mentor Inc. newsgroups: comp.object,comp.lang.c++,comp.lang.ada,comp.lang.smalltalk,comp.lang.eiffel Date: 1997-01-30T00:00:00+00:00 List-Id: In article <5cm364$dc2@topdog.cs.umbc.edu>, jur@topdog.cs.umbc.edu (Jacqueline U. Robertson) wrote: > Depends - are we including C and C++ here ? In either language, I have static > type checking, but I can use casting to defeat that type checking - thus, > I get NONE of the benefits of static typing, This is quite a stretch. It is rather like saying: "I can do structured programming in Smalltalk so I get NONE of the benefits of OO." The fact that you *can* cast in C++ does not mean that everybody *does* cast in C++; or that casting is a rampant and virulent disease that infects all C++ programs to the extent that their type systems are reduced to utter chaos. It just ain't so. -- 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