Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!igor!rutabaga!jls From: jls@rutabaga.Rational.COM (Jim Showalter) Newsgroups: comp.object Subject: Re: C++ vs. C Message-ID: Date: 26 Apr 91 21:00:00 GMT References: <1991Apr24.125926.5146@asc.slb.com> <18905@crdgw1.crd.ge.com> <1991Apr25.213211.24114@asc.slb.com> Sender: news@Rational.COM Lines: 16 ]AND, I think the technical superiority of the C++ implementation is ]significant. It isn't so important when there are only 4 cases. But ]what if there are 20 or so? Then the savings in memory and execution ]may be really important. Basically, the dynamic dispatching in C++ takes the same space and time as a non-inheritance version in C, and without decent tools the debugging is harder than in the C version. On the other hand, you get simpler looking code in C++, and you eliminate the dual-point-of- maintenance of the C version. Which is better for you is a very personal choice. -- * "Beyond 100,000 lines of code, you should probably be coding in Ada." * * - P.G. Plauger, Convener and Secretary of the ANSI C Committee * * * * The opinions expressed herein are my own. *