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

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!sgiblab!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
  3. From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
  4. Subject: Re: Improvements on C++?
  5. Message-ID: <9234803.8057@mulga.cs.mu.OZ.AU>
  6. Sender: news@cs.mu.OZ.AU
  7. Organization: Computer Science, University of Melbourne, Australia
  8. References: <1992Dec4.103551.664@netcom.com> <1992Dec8.165230.2587@ucc.su.OZ.AU> <1992Dec9.124436.20197@druid.uucp> <1992Dec12.144301.25735@ucc.su.OZ.AU>
  9. Date: Sat, 12 Dec 1992 16:15:05 GMT
  10. Lines: 20
  11.  
  12. maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
  13.  
  14. >darcy@druid.uucp (D'Arcy J.M. Cain) writes:
  15. >>
  16. >>You can still do this without sacrificing speed and in fact enhance clarity:
  17. >>
  18. >>    while ((p = get()) != 0) {...}
  19. >
  20. >    The five extra characters make this clearer?
  21.  
  22. Yes.
  23.  
  24. They remind those of us who know 20 other languages where '=' means
  25. equality, that in C '=' means assignment.
  26.  
  27. -- 
  28. Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
  29. This .signature virus is a self-referential statement that is true - but 
  30. you will only be able to consistently believe it if you copy it to your own
  31. .signature file!
  32.