home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18219 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.1 KB  |  51 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!psinntp!bony1!richieb
  3. From: richieb@bony1.bony.com (Richard Bielak)
  4. Subject: Re:  Give me safe C++
  5. Message-ID: <1992Dec18.134937.14313@bony1.bony.com>
  6. Organization: multi-cellular
  7. References: <1992Dec3.193006.5520@almserv.uucp> <1992Dec6.131757.7448@ucc.su.OZ.AU> <716@ulogic.UUCP>
  8. Date: Fri, 18 Dec 92 13:49:37 GMT
  9. Lines: 40
  10.  
  11. In article <716@ulogic.UUCP> hartman@ulogic.UUCP (Richard M. Hartman) writes:
  12.  
  13. [...]
  14.  
  15. >Safety (when not being enforced by the language) is to a large
  16. >extent (IMHO) a matter of good programming practices.  Like a
  17. >seemingly ever-growing segment of the general populace, the cry
  18. >comes "oh powers that be, protect us from ourselves", and thus
  19. >we get laws requiring people to wear seatbelts.  It is no that
  20. >I am against seatbelts (or safety), but I was perfectly capable
  21. >of wearing a seatbelt before the law existed.  To my mind, there
  22. >was no *need* for the law.  
  23.  
  24. This analogy with seat belts bugs me. Here is why. Seatbelts are there
  25. for the benefit of consumer of cars.
  26.  
  27. This implies that programmers are *consumers* of programming
  28. languages. This misses the point, that programmers are the
  29. *manufacturers* of software.
  30.  
  31. Don't you agree, that safety regulations forced on the manufacturer
  32. are a good thing? Rememeber the Ford Pinto?
  33.  
  34. Manufacturers often object to safety regulation, as it makes their
  35. products harder to make. You could make a car that got 100 mpg, if you
  36. made it out of styrofoam, but you wouldn't want to crash in it.
  37.  
  38. If you are writing safety critical software - let's say software that
  39. controls the brakes in *my* car - I'd rather have you code in PASCAL
  40. and run with all the runtime checks on. I don't want my brakes to stop
  41. working just because you forgot an ampersand.
  42.  
  43. ...richie
  44.  
  45.  
  46. -- 
  47. * Richie Bielak   (212)-815-3072   |                                          *
  48. * Internet:       richieb@bony.com | Rule #1: Don't sweat the small stuff.    *
  49. * Bang {uupsi,uunet}!bony1!richieb | Rule #2: It's all small stuff.           *
  50. *    - Strictly my opinions -      |                                          *
  51.