home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 13129 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.1 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!allegra!alice!ark
  2. From: ark@alice.att.com (Andrew Koenig)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Destruction of temporaries
  5. Message-ID: <23598@alice.att.com>
  6. Date: 1 Sep 92 05:12:54 GMT
  7. Article-I.D.: alice.23598
  8. References: <rmartin.715004480@thor> <23583@alice.att.com> <rmartin.715101472@thor> <1992Aug29.184025.328@frumious.uucp> <rmartin.715267769@thor>
  9. Reply-To: ark@alice.UUCP ()
  10. Organization: AT&T Bell Laboratories, Murray Hill NJ
  11. Lines: 15
  12.  
  13. In article <rmartin.715267769@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
  14.  
  15. > Ideed.  But I think the warning is still useful.
  16.  
  17. The unfortunate reality is that I have seen a number of development
  18. projects that have an inflexible rule -- no warnings allowed!  That is,
  19. they will not allow their people to ship any code that generates warnings.
  20.  
  21. Thus, giving a compiler warning for a construct is equivalent to
  22. banning it for those projects.
  23.  
  24. Warnings had better be right almost all the time.
  25. -- 
  26.                 --Andrew Koenig
  27.                   ark@europa.att.com
  28.