home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19554 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.8 KB

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