home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!psinntp!bony1!richieb
- From: richieb@bony1.bony.com (Richard Bielak)
- Subject: Re: Give me safe C++
- Message-ID: <1992Dec18.134937.14313@bony1.bony.com>
- Organization: multi-cellular
- References: <1992Dec3.193006.5520@almserv.uucp> <1992Dec6.131757.7448@ucc.su.OZ.AU> <716@ulogic.UUCP>
- Date: Fri, 18 Dec 92 13:49:37 GMT
- Lines: 40
-
- In article <716@ulogic.UUCP> hartman@ulogic.UUCP (Richard M. Hartman) writes:
-
- [...]
-
- >Safety (when not being enforced by the language) is to a large
- >extent (IMHO) a matter of good programming practices. Like a
- >seemingly ever-growing segment of the general populace, 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. To my mind, there
- >was no *need* for the law.
-
- This analogy with seat belts bugs me. Here is why. Seatbelts are there
- for the benefit of consumer of cars.
-
- This implies that programmers are *consumers* of programming
- languages. This misses the point, that programmers are the
- *manufacturers* of software.
-
- Don't you agree, that safety regulations forced on the manufacturer
- are a good thing? Rememeber the Ford Pinto?
-
- Manufacturers often object to safety regulation, as it makes their
- products harder to make. You could make a car that got 100 mpg, if you
- made it out of styrofoam, but you wouldn't want to crash in it.
-
- If you are writing safety critical software - let's say software that
- controls the brakes in *my* car - I'd rather have you code in PASCAL
- and run with all the runtime checks on. I don't want my brakes to stop
- working just because you forgot an ampersand.
-
- ...richie
-
-
- --
- * Richie Bielak (212)-815-3072 | *
- * Internet: richieb@bony.com | Rule #1: Don't sweat the small stuff. *
- * Bang {uupsi,uunet}!bony1!richieb | Rule #2: It's all small stuff. *
- * - Strictly my opinions - | *
-