home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!igor!thor!rmartin
- From: rmartin@thor.Rational.COM (Bob Martin)
- Newsgroups: comp.lang.c++
- Subject: Re: Tiny proposal for named loops.
- Message-ID: <rmartin.715003784@thor>
- Date: 28 Aug 92 12:09:44 GMT
- References: <rmartin.714750452@thor> <9223902.3230@mulga.cs.mu.OZ.AU> <rmartin.714863856@thor> <2319@devnull.mpd.tandem.com>
- Sender: news@Rational.COM
- Lines: 35
-
- Ramon! I thought you were tired of this thread.
-
- rgp@mpd.tandem.com (Ramon Pantin) writes:
-
- |In article <rmartin.714863856@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
- |>Again, I disagree. I find this construct:
- |> while (error == NO && done == NO)
- |>easier to understand than:
- |> ...
-
- |(Don't mean to start another religious war :-)
-
- |I find this verbose and hard to read:
- | while (error == NO && done == NO)
-
-
- |What is wrong with good old C code as the goods meant it to be?
- | while (!error && !done)
-
-
- |You don't believe in boolean expressions either? :-)
-
- In fact I often use the !error form. Fortunately for the badwidth of
- the net, I do not have a religious axe to grind here. I used the (==
- NO) form here becuase of a habbit I acquired while working for a
- recent client. I turns out that his definition of NO was not zero...
-
-
-
-
- --
- 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++
-