home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!microsoft!hexnut!jimad
- From: jimad@microsoft.com (Jim Adcock)
- Subject: Re: What is Object Oriented Programming? Is C doomed?
- Message-ID: <1992Dec11.215013.4654@microsoft.com>
- Date: 11 Dec 92 21:50:13 GMT
- Organization: Microsoft Corporation
- References: <1g40m9INNdhk@uwm.edu> <1992Dec9.191038.16606@thunder.mcrcim.mcgill.edu> <1992Dec10.101100.1@happy.colorado.edu>
- Lines: 23
-
- In article <1992Dec10.101100.1@happy.colorado.edu> srheintze@happy.colorado.edu writes:
- |I believe it was Ed Yourdon who first said: "it is far easier to optimize a
- |correct (i.e. working) program than correct an optimized program".
- |
- |Do you agree that:
- | (1) Modularization is a great aid to making correct programs?
-
- Yes.
-
- | (2) What Youdon said was correct?
-
- No, because it is easy to construct correct programs that are practically
- impossible to optimize and it is easy to construct optimized programs that
- are practically impossible to correct. The only way to make either correctness
- or optimization "easy" [or even *possible*] is to plan, design and build to
- make both possible from the start. Given that a program is designed to be
- easy to optimize, and given that a program is designed to be easy to correct,
- then either task becomes easy [or at least *possible*]
-
- In the worse case one finds cases of programs that are so suboptimal that
- one cannot even afford to run them in order to find any of the bugs.
- In which case one has to start by doing some optimizations even in the presence
- of [massive] bugs.
-