home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18386 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.2 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!fg30.rz.uni-karlsruhe.de!gm08
  2. From: gm08@fg30.rz.uni-karlsruhe.de (Steffani)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: a question about if and case
  5. Date: 15 Dec 1992 12:44:54 GMT
  6. Organization: University of Karlsruhe, Germany
  7. Lines: 18
  8. Message-ID: <1gkk06INNs8o@nz12.rz.uni-karlsruhe.de>
  9. References: <1gi6poINN3lv@nz12.rz.uni-karlsruhe.de> <Mf=CaVW00aw4QDV2dx@andrew.cmu.edu>
  10. Reply-To: gm08@rz.uni-karlsruhe.de
  11. NNTP-Posting-Host: fg30.rz.uni-karlsruhe.de
  12.  
  13. In article <Mf=CaVW00aw4QDV2dx@andrew.cmu.edu> dw3u+@andrew.cmu.edu (Daniel C. Wang) writes:
  14. >GM08@DKAUNI2.BITNET (hans friedrich steffani) writes:
  15. >> 
  16. >> or is there a third way??
  17. >> i need contructions like this very often so i need a GOOD
  18. >> solution.
  19. >
  20. >The first way is more readable the second probably marginaly faster
  21. >during compile time.  Can't think of a third way off hand that would
  22. >be worth mentioning.  I'd stick with readablity over 'speed.'
  23. thats the problem:
  24. most people think that many cases with one code are bad to read.
  25. but i think reading many if s is not better.
  26. a aggree that readablity is more neccessary than speed.
  27.  
  28. ---
  29. hans friedrich steffani
  30.  
  31.