Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!pdn!tscs!tct!chip From: chip@tct.uucp (Chip Salzenberg) Newsgroups: comp.lang.c++ Subject: Re: Static typing, OOP efficiency, and programmer error Keywords: cast, void*, correctness Message-ID: <27EDF4A9.21F9@tct.uucp> Date: 25 Mar 91 13:01:29 GMT References: <28148@dime.cs.umass.edu> <27E8E12E.2D2A@tct.uucp> <28323@dime.cs.umass.edu> Organization: Teltronics/TCT, Sarasota, FL Lines: 17 According to connolly@livy.cs.umass.edu (Christopher Ian Connolly): >Chip, could we get a little more consistency in the arguments here? In the interest of brevity, I omitted a qualifier from my first quoted statement. Here is the corrected version: The C++ language is incapable of compiling a program that results in an object receiving a message it can't handle, *unless* the programmer lies to the compiler about the object's type. >It's likely that many people will "lie" without knowing it, though. In my experience, this error is not "likely" at all. -- Chip Salzenberg at Teltronics/TCT , "All this is conjecture of course, since I *only* post in the nude. Nothing comes between me and my t.b. Nothing." -- Bill Coderre