home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / programm / 2480 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.2 KB

  1. Path: sparky!uunet!gatech!concert!duke!psu
  2. From: psu@cs.duke.edu (Peter Su)
  3. Newsgroups: comp.programming
  4. Subject: Re: Teaching the basics
  5. Message-ID: <PSU.92Aug26091352@ptero.cs.duke.edu>
  6. Date: 26 Aug 92 13:13:52 GMT
  7. References: <MJN.92Aug23031941@pseudo.uucp> <7116@charon.cwi.nl>
  8.     <1992Aug25.174243.10436@uwm.edu> <1992Aug26.111240.8239@ITcorp.com>
  9. Sender: news@duke.cs.duke.edu
  10. Organization: Duke University CS Dept., Durham, NC
  11. Lines: 22
  12. Nntp-Posting-Host: ptero.cs.duke.edu
  13. In-reply-to: geoff@ITcorp.com's message of 26 Aug 92 11:12:40 GMT
  14.  
  15. In article <1992Aug26.111240.8239@ITcorp.com> geoff@ITcorp.com (Geoff Kuenning) writes:
  16.  
  17.    >...
  18.    >    else if (Prev->Key < Key) Prev->Left = Cur; else Prev->Right = Cur;
  19.  
  20.    I find it sourly this code was on a thread named "Teaching the
  21.    basics", since the author obviously hasn't even learned the basics of
  22.    readable code formatting.
  23.  
  24. Learn to use indent, or Emacs C-mode.
  25.  
  26. Code formatting is irrelevant, because programs like indent let you
  27. format the code anyway you like.
  28.  
  29. It's amazing to me that universities waste so much time and effort
  30. teaching people how to format code.
  31.  
  32. Pete
  33. --
  34. Department of Computer Science, Duke University, Durham, NC 27706
  35. Internet:    psu@cs.duke.edu
  36. UUCP:        mcnc!duke!psu
  37.