home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 18972 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!rational.com!thor!rmartin
  3. From: rmartin@thor.Rational.COM (Bob Martin)
  4. Subject: Re: feedback wanted on appropriate OOPL
  5. Message-ID: <rmartin.726795186@thor>
  6. Sender: news@rational.com
  7. Organization: Rational
  8. References: <1992Dec30.171527.3534@informix.com> <1992Dec28.173620.14793@microsoft.com>     <1992Dec29.011354.5929@informix.com>     <726278910snx@trmphrst.demon.co.uk> <rmartin.726674455@thor> <TMB.93Jan10170408@arolla.idiap.ch>
  9. Date: Mon, 11 Jan 1993 23:33:06 GMT
  10. Lines: 29
  11.  
  12. tmb@arolla.idiap.ch (Thomas M. Breuel) writes:
  13.  
  14. |In article <rmartin.726674455@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
  15.  
  16. |   A language can have a significant impact, however, on quality,
  17. |   run-time efficiency and coding efficiency.  C++ will certainly catch
  18. |   more programmer errors than stalk [Smalltalk], [...]
  19.  
  20. |It is only true to say that _at compile time_, C++ will catch more
  21. |programmer errors than Smalltalk.
  22.  
  23. |If you take into account both compile time and runtime, Smalltalk will
  24. |catch more "programmer errors" than C++: not only will Smalltalk catch
  25. |all type errors, but also bad pointers, overflows, and array bounds
  26. |violations, errors that go undetected in most C++ implementations and
  27. |are not mandated to be detected by the C++ definition.
  28.  
  29. Deferring error detection to runtime is risky, since the error may be
  30. encountered several months after its release.  Also, there are several
  31. C++ development environments that catch runtime errors just as nicely
  32. as stalk does.  So, I don't accept that runtime error detection is
  33. either an advantage or the exclusive domain of stalk.
  34.  
  35.  
  36. --
  37. Robert Martin                        Training courses offered in:
  38. R. C. M. Consulting                       Object Oriented Analysis
  39. 2080 Cranbrook Rd.                        Object Oriented Design
  40. Green Oaks, Il 60048 (708) 918-1004       C++
  41.