home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / programm / 11756 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  2.3 KB

  1. Xref: sparky comp.os.msdos.programmer:11756 comp.sys.ibm.pc.programmer:727 comp.lang.c++:18645 comp.lang.c:19144
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!allegra!alice!bs
  3. From: bs@alice.att.com (Bjarne Stroustrup)
  4. Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.programmer,comp.lang.c++,comp.lang.c
  5. Subject: Re: Newbie Wants Advice on C-Programming
  6. Message-ID: <24538@alice.att.com>
  7. Date: 3 Jan 93 04:09:49 GMT
  8. Article-I.D.: alice.24538
  9. References: <1992Dec23.220530.15347@netcom.com> <1992Dec24.172333.7339@grebyn.com> <1993Jan2.163028.8829@netcom.com>
  10. Organization: AT&T Bell Laboratories, Murray Hill NJ
  11. Lines: 35
  12.  
  13.  
  14.  
  15. jimlynch@netcom.com (Jim Lynch @ Netcom Online Communications Services (408-241-9760 login: guest)) wrote
  16.  
  17.  > >You should always start out with the official books:
  18.  > >
  19.  > >For C, it is _The_C_Programming_Langauge_ 2nd ed. by Kernighan & Ritchie
  20.  > >For C++, it is _The_C++_Programming_Language 2nd ed. by Stroustrup
  21.  > 
  22.  > No no no no no no no no no no no no. These books are _unreadible_ to a beginner.
  23.  > However, they can be quite valuable as a reference (whenever you get around to
  24.  > learning how to read them...)
  25.  
  26. It is worth remembering that `beginner' means different things in different
  27. contexts and what `unreadable' means depends critically on what kind of
  28. beginner we are talking about.
  29.  
  30. If by `beginner' you mean `someone who approaches programming for the first
  31. time,' you are almost certainly right (though I have heard of exceptions to
  32. that rule). If, on the other hand, `beginner' means `experienced programmer
  33. who just happens never to have encountered C or C++ before,' you are with
  34. a high propability wrong (though again I suspect a few exceptions could be
  35. found).
  36.  
  37. The backgrounds and expectations of want-to-be C or C++ programmers seem
  38. infinitely varied and textbooks, approaches to teaching, and advise must
  39. try to take that diversity into account. No one approach or one book can
  40. cover all angles.
  41.  
  42. It is probably worth adding that both books are more readable than
  43. their first editions. In the case of my book significantly so; in the
  44. case of K&R less so because it was so smooth in the first place. Both
  45. books explicitly assumes the reader to be a programmer. I'm sure C and
  46. C++ can be taught to non-programmers as their first language (it has been
  47. done), but that is not the aim of those two books.
  48.