home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18485 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.3 KB  |  41 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!rational.com!thor!rmartin
  3. From: rmartin@thor.Rational.COM (Bob Martin)
  4. Subject: Re: Is it possible to use 'delete this' ?
  5. Message-ID: <rmartin.725581109@thor>
  6. Sender: news@rational.com
  7. Organization: Rational
  8. References: <Dy93VB2w165w@bwhwob.escape.de> <rmartin.725129268@thor> <BzqE5s.6Lr@comp.vuw.ac.nz>
  9. Date: Mon, 28 Dec 1992 22:18:29 GMT
  10. Lines: 29
  11.  
  12. robertd@kauri.vuw.ac.nz (Robert Davies) writes:
  13.  
  14. |rmartin@thor.Rational.COM (Bob Martin) writes:
  15.  
  16. |>
  17. |>In general, "delete this" is a bad idea.
  18. |> .........
  19.  
  20. |This is the standard argument - but I suspect it is not necessarily the 
  21. |correct one.
  22.  
  23. ..........
  24.  
  25. |The danger with the statements that "delete this" is not a good idea is 
  26. |that the compiler writers or standards committee will listen and a very
  27. |useful construct (in some situations) will be lost.
  28.  
  29. OK, but the danger with remaining silent on the "delete this" issue is
  30. that the folks who ask about it may get the idea that it is a
  31. perfectly safe and benign technique -- it is not.  It is, in fact,
  32. quite dangerous, and must be well controlled.  
  33.  
  34.  
  35.  
  36. --
  37. Robert Martin                        Training courses offered in:
  38. R. C. M. Consulting                       Object Oriented Analysis
  39. 2080 Cranbrook Rd.                        Object Oriented Design
  40. Green Oaks, Il 60048 (708) 918-1004       C++
  41.