home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!caen!saimiri.primate.wisc.edu!aplcen.apl.jhu.edu!ded
- From: ded@aplcen.apl.jhu.edu (nod sivad)
- Subject: Re: Give me safe C++
- Message-ID: <1992Dec16.020544.29302@aplcen.apl.jhu.edu>
- Reply-To: ded@aplcen (nod sivad)
- Organization: Johns Hopkins University
- References: <1992Dec11.222322.7361@microsoft.com> <1536@ozz.oasis.icl.co.uk>
- Date: Wed, 16 Dec 92 02:05:44 GMT
- Lines: 27
-
-
- |the cry comes "oh powers that be, protect us from ourselves", and thus
- |we get laws requiring people to wear seatbelts. It is no that
- |I am against seatbelts (or safety), but I was perfectly capable
- |of wearing a seatbelt before the law existed.
-
- How we got from safe C++ to seatbelts is a mystery to me. The trouble
- with analogies is that they're usually slanted. Here is one slanted
- a rather different direction: Suppose your car has an unlabeled button
- next to the radio control. If you push this button the passenger seat
- ejects. C++ hackers love this feature because it is really handy
- when a robber jumps into their car. Project leaders hate it
- because the programmers keep sending them through the roof while
- searching for an obscure radio station. Yes, the feature is handy
- in this carjacking world, but it's an obscure feature whose danger outweighs
- its benefit. The same goes for some aspects of C++.
-
- Which leads to the following comment:
-
- >No thanks! Give me the *tools* necessary for safety -- the lapbelts, the
- >shoulder harnesses, etc, and let *me* apply them myself. Poorly applied
- >safety devices are more dangerous than no safety devices at all!
-
- I've said before that safety tools like ObjectCenter may be a nice
- compromise between freedom of expression and safety.
-
- me
-