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.2 required=5.0 tests=BAYES_00,CTE_8BIT_MISMATCH, INVALID_MSGID,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public From: Tansel Ersavas Subject: Re: OO, C++, and something much better! Date: 1997/01/25 Message-ID: <32EA2116.5787@rase.com>#1/1 X-Deja-AN: 212132188 references: content-type: text/plain; charset=iso-8859-1 organization: RASE Inc. mime-version: 1.0 reply-to: tansel@rase.com newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.c++,comp.lang.smalltalk,comp.object x-mailer: Mozilla 3.0 (Win95; U) Date: 1997-01-25T00:00:00+00:00 List-Id: Joachim Durchholz wrote: > > Tansel wrote: > > > Contrary to what people say, type checking is against the nature of > > object oriented systems development. Remember, in OO, we only care about > > the interface of the other object. In fact it should be an OO sin to ask > > the type, because, in theory, we don�t want to get intimate with objects > > we are interacting apart from their interface. We only want to know the > > interface. > > There's a misunderstanding here. > > I agree checking should be done on the interface, but I was not aware of > any difference between type and interface. After all, objects with > identical interface have the same type for all practical purposes. > For practical purposes type checking in statically typed languages involve both structure and the interface. This doesn't take into consideration that part of the structure may be private. There are notable exceptions though ... > A good type-checking Smalltalk system could work with versioning, so if > you delete a routine, you actually define a new class with the routine > deleted. Existing (typechecked) code would continue to work. Of course the > system should convert as much as possible to the new version of the class > structure, but if it finds code that uses the delete routine, the > programmer has to correct it (or the code has to remain on the old version > level). Good point. There are still ways to bypass these in run-time though. ... > > Why don't you come to Smalltalk Solutions 97? You may see many examples. > > It is in NY at Marriot Marquis between March 10-13. > > Sorry, that's a bit far from Germany... (domain .de is short for > "Deutschland"). Ooops, sorry. I didn't notice. > > This is not true. Smalltalk base is growing very strongly especially in > > organizations such as banks. > > I didn't want to downplay the growth of Smalltalk. It's just that the > numbers presented were nearly content-free. I'd very much like to see some > solid numbers, though. InfoWorld and IDC are publishing such numbers. If I come across some, I might collect and post them at one stage. > Regards, > -Joachim Kind Regards Tansel ----------------------------------------------------------------------- RASE Inc. Clark NJ USA Voice: (908) 396 7145 mailto:tansel@rase.com Fax: (908) 382 1383 http://www.rase.com/ ----Sufficiently advanced technology is indistinguishable from magic--- -------------------------------A.C. Clarke-----------------------------