home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / std / cplus / 1775 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  938 b 

  1. Path: sparky!uunet!tdat!tools3!swf
  2. From: swf@tools3teradata.com (Stan Friesen)
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Now is the time (Was: Improvements on C++?)
  5. Message-ID: <1610@tdat.teradata.COM>
  6. Date: 14 Dec 92 17:25:41 GMT
  7. References: <5349@holden.lulea.trab.se>
  8. Sender: news@tdat.teradata.COM
  9. Distribution: world
  10. Organization: NCR Teradata Database Business Unit
  11. Lines: 15
  12.  
  13. In article <5349@holden.lulea.trab.se>, jbn@lulea.trab.se (Johan Bengtsson) writes:
  14. |> Is this true?  Are you all depending on "default int", you poor sods?
  15. |> I for one _never_ depend on that rule.
  16.  
  17. I *used* to.  I don't anymore, nowadays I always declare the type of a function.
  18. (If anything I tend towards a 'default void' style, in C, except I usually even
  19. declare that).
  20.  
  21. And, in C++, where all function *must* be declared, I *always* declare the
  22. return type.
  23.  
  24. -- 
  25. sarima@teradata.com            (formerly tdatirv!sarima)
  26.   or
  27. Stanley.Friesen@ElSegundoCA.ncr.com
  28.