home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!eff!world!boag
- From: boag@world.std.com (Scott A Boag)
- Subject: Criticisms Wanted
- Message-ID: <BxF1ox.Io4@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- X-Newsreader: Tin 1.1 PL3
- Date: Sun, 8 Nov 1992 21:14:56 GMT
- Lines: 45
-
- Wow. I am kinda surprised at the amount of negative responses to an
- honest question.
-
- Two years ago we decided that we would go with C rather than C++ on
- a large project. I think that was the right decision then. I have
- a list of the reasons somewhere, but off the top of my head:
-
- * This was a multiplatform project (Mac, Windows, HP-XWindows & SUN).
- At the time we were not comfortable that we could find acceptable
- compiler compatibility.
-
- * At least on the Mac, our only choice was Apple's CFront. By the end
- of the project compile and link times were a significant problem
- for C. C++ would have been disasterious. Would the symbol tables
- fit in memory? I doubt it.
-
- * I was mistrustfull of debuging in C++, primarily because of the
- need to do things like unmangiling. In retrospect I think
- needlessly so.
-
- * It was hard enough finding good C programmers for the project.
- Because of the very quick ramp-up time on this particular project,
- I did not feel we could find good C++ programmers nor did we
- have time to train them. Today there are many more programmers
- who are familiar with C++ than two years ago.
-
- * C++ tends to do a lot of things behind your back, particularly
- with memory, such as automatic destructers being called on
- exit from a function. Lots more neat ways to hang yourself.
- Also, I would be, even today, mistrustfull of memory management
- in a large program on Windows or Mac when memory was a
- problem.
-
- If I were to start the same project today, I would choose to go the
- C++ route because of the more advanced state of the technology.
-
- Good luck with your project.
-
- -sb
-
- --
- **********************************************************
- * Scott Boag
- *
- **********************************************************
-