home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!rational.com!thor!rmartin
- From: rmartin@thor.Rational.COM (Bob Martin)
- Subject: Re: Is it possible to use 'delete this' ?
- Message-ID: <rmartin.725581109@thor>
- Sender: news@rational.com
- Organization: Rational
- References: <Dy93VB2w165w@bwhwob.escape.de> <rmartin.725129268@thor> <BzqE5s.6Lr@comp.vuw.ac.nz>
- Date: Mon, 28 Dec 1992 22:18:29 GMT
- Lines: 29
-
- robertd@kauri.vuw.ac.nz (Robert Davies) writes:
-
- |rmartin@thor.Rational.COM (Bob Martin) writes:
-
- |>
- |>In general, "delete this" is a bad idea.
- |> .........
-
- |This is the standard argument - but I suspect it is not necessarily the
- |correct one.
-
- ..........
-
- |The danger with the statements that "delete this" is not a good idea is
- |that the compiler writers or standards committee will listen and a very
- |useful construct (in some situations) will be lost.
-
- OK, but the danger with remaining silent on the "delete this" issue is
- that the folks who ask about it may get the idea that it is a
- perfectly safe and benign technique -- it is not. It is, in fact,
- quite dangerous, and must be well controlled.
-
-
-
- --
- Robert Martin Training courses offered in:
- R. C. M. Consulting Object Oriented Analysis
- 2080 Cranbrook Rd. Object Oriented Design
- Green Oaks, Il 60048 (708) 918-1004 C++
-