home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 15991 < prev    next >
Encoding:
Text File  |  1992-11-09  |  2.5 KB  |  50 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!tessi!eaglet!slipknot!robert
  3. From: robert@slipknot.rain.com (Robert Reed)
  4. Subject: Re: Criticisms Wanted
  5. Message-ID: <BxGu0p.D3o@slipknot.rain.com>
  6. Reply-To: robert@slipknot.rain.com.UUCP (Robert Reed)
  7. Organization: Home Animation Ltd.
  8. References: <1992Nov7.113444.3225@netcom.com> <BxDDJy.9GC@slipknot.rain.com> <1992Nov8.170309.12301@cc.gatech.edu>
  9. Date: Mon, 9 Nov 1992 20:24:24 GMT
  10. Lines: 38
  11.  
  12. In article <1992Nov8.170309.12301@cc.gatech.edu> brianm@cc.gatech.edu (Brian N. Miller) writes:
  13. |In article <BxDDJy.9GC@slipknot.rain.com> robert@slipknot.rain.com.UUCP (Robert Reed) writes:
  14. |>One criticism I've heard is that the time saved in debugging due to the strong
  15. |>typing is consumed in optimizing.
  16. |
  17. |Strong typing complicates optimization?  I don't think so.  If anything, it
  18. |simplifies it.
  19.  
  20. Please understand, these are not my criticisms, but complaints I've heard from
  21. others.  And the point was NOT that strong typing complicates optimization, but
  22. that strong typing reduces debug time (by acting as an integrated lint), but
  23. that some of the other language features (like reference initialization versus
  24. copying, operator functions, etc.) provide many ways to hide the way things are
  25. done in the code, and that complicates the process of developing an optimal
  26. program because of the increased complexity and (at least for the novice)
  27. hidden implementation costs.
  28.  
  29. |>Also, I've seen complaints that tenet of information hiding and code reuse
  30. |>is a myth with C++ because in order to understand a class you intend to
  31. |>reuse, you must study the source code anyway.
  32. |
  33. |That has little to do with C++.  I can't think of any language that
  34. |unambiguously illustrates ADT behaviour in the export interface.
  35.  
  36. Well, yes, and I suggested a similar example in another language.  But the
  37. point is that C++ has been reputed to be a language that finally makes the
  38. concept of "software components" realizable.  The argument goes that if you
  39. still have to examine the internal workings of component classes to determine
  40. how to best use them, then their value as components has been greatly
  41. diminished.
  42. ________________________________________________________________________________
  43. Robert Reed            Home Animation Ltd.        503-656-8414
  44. robert@slipknot.rain.com    5686 First Court, West Linn, OR 97068
  45.  
  46. I finally went to the eye doctor.  I got contacts but I only need them for
  47. reading.  I got flipups.
  48. --Steve Wright
  49. ________________________________________________________________________________
  50.