Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!apple!autodesk!glang From: glang@Autodesk.COM (Gary Lang) Newsgroups: comp.lang.c++ Subject: Re: Static typing, OOP efficiency, and programmer error Message-ID: <3713@autodesk.COM> Date: 1 Apr 91 05:02:30 GMT References: <47199@nigel.ee.udel.edu> <27E17FD1.7241@tct.uucp> <48311@nigel.ee.udel.edu> <27EA4653.EC4@tct.uucp> Organization: Autodesk Inc., Sausalito CA, USA Lines: 24 In-reply-to: chip@tct.uucp's message of 22 Mar 91 18:00:50 GMT >or am I all wet here? Sigh. Yes you are. Obj-C supports static AND dynamic typing. Pretend that you program in C++ using an Object class at the root of everything and that you virtualize all functions ever defined in all classes of your application. A ridiculous design scenario but bear with me. You could type everything Object, but you probably wouldn't because you'd lose the benefits of static type checking for those places where you don't want "board level" interfaces to classes. The same applies to Obj-C. God I wish people would at least program in it before they make statements like this in public. -g -- Gary T. Lang (415)332-2344 x2702 Autodesk, Inc. Sausalito, CA. MCI: 370-0730