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