Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!spool!bates From: bates@wingra.stat.wisc.edu (Douglas Bates) Newsgroups: comp.sys.next Subject: Re: g++ vs. Obj. C Message-ID: Date: 1 Jan 90 20:07:14 GMT References: <3897@orion.cf.uci.edu> <246300081@uxa.cso.uiuc.edu> <213@toaster.SFSU.EDU> <7647@sdcsvax.UCSD.Edu> Sender: news@spool.cs.wisc.edu Organization: University of Wisconsin-Madison Lines: 39 In-reply-to: fellman@celece.ucsd.edu's message of 1 Jan 90 17:29:16 GMT In article <7647@sdcsvax.UCSD.Edu> fellman@celece.ucsd.edu (Ronald Fellman) writes: Date: 1 Jan 90 17:29:16 GMT Organization: UCSD Dept. of ECE C'mon. We don't need a g++ vs. Obj.-C war here. After extensive experience with both, I feel that there are perfectly valid reasons for wanting BOTH. Each has its own strengths and infact can complement each other. g++ has operator overloading, looks more like C, and has less overhead. For the same reason that the efficiency is higher, its object-oriented features are less extensive. I would use g++ for writing a low-level behavioral or logic simulator but would use Obj.-C for NeXT gui programs. -ron fellman (rfellman@ucsd.edu) I don't want to see a C++ vs. Obj-C war either - especially after the recent Mac vs NeXT episode. There are some questions about the capabilities of C++ and Objective-C that I would appreciate seeing discussed, though. I've had limited experience with programming in both languages. In C++ I find operator overloading and inlined functions useful. I don't see equivalent capabilities in Obj-C and that would give me problems if I had a C++ program that I wanted to translate into Obj-C. (If the capabilites are in Obj-C, please tell me.) What capabilities in Obj-C would give me troubles if I was translating the other way? I see a lot of people learning C++ and many C++ products being offered. I don't see similar interest in Objective-C outside of the NeXT user community. I fear that C++ will become the "standard" object-oriented extension to C and Objective-C will become an oddity that is only used for writing for NextStep. What aspects of Obj-C do I play up to convince people that they should write in Obj-C rather than C++?