home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:19554 comp.lang.c++:18974
- Newsgroups: comp.lang.c,comp.lang.c++
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!uwm.edu!linac!att!princeton!csservices!kastle!blume
- From: blume@kastle.Princeton.EDU (Matthias Blume)
- Subject: C/C++ Correctness (was: Re: C/C++ Speed)
- Message-ID: <1993Jan11.224238.22152@csservices.Princeton.EDU>
- Sender: news@csservices.Princeton.EDU (USENET News System)
- Reply-To: blume@kastle.Princeton.EDU (Matthias Blume)
- Organization: Dept. of Computer Science, Princeton University
- References: <1ipsk5INNf5m@aludra.usc.edu> <dak.726696239@tabaqui> <1993Jan11.163852.19740@informix.com>
- Date: Mon, 11 Jan 1993 22:42:38 GMT
- Lines: 23
-
- The question should be: are programs written in C++ more reliable than those
- written in C. I serioulsy doubt that!
-
- C++
- - is highly complicated
- - has no fixed specification (or rather: the specification is
- a moving target)
- - employs a syntax that is even more ambiguous than that of C
- - has NO WORKING compiler that really implements the language
- (all compilers show major shortcomings in basic areas like
- constructor/destructor call placement)
- - is overfeatures (who needs multiple inheritance?)
-
- I'd rather stick to something simpler and more reliable than that. If you
- need inheritance et al. then use something that isn't suffering feature
- cancer (for instance: Objective C)! With a bit of discipline it is even
- possible to write OO-programs in plain old C (Many people have done this as
- an exercise, and literature about it will probably (hopefully) appear soon.)
- The sad truth is, however, that almost everybody seems to believe in C++
- nowadays... :( C++ will not be the solution to the current software crisis --
- it will be the cause of the next one.
-
- -Matthias
-