home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 18702 < prev    next >
Encoding:
Text File  |  1993-01-05  |  2.6 KB  |  61 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!mole-end!mat
  3. From: mat@mole-end.matawan.nj.us
  4. Subject: Re: Newbie Wants Advice on C-Programming
  5. Message-ID: <1993Jan4.091953.29873@mole-end.matawan.nj.us>
  6. Organization: :
  7. References: <1992Dec24.172333.7339@grebyn.com> <1993Jan2.163028.8829@netcom.com> <4284@dozo.and.nl>
  8. Date: Mon, 4 Jan 1993 09:19:53 GMT
  9. Lines: 50
  10.  
  11. In article <4284@dozo.and.nl>, jos@and.nl (Jos Horsmeier) writes:
  12. > In article <24538@alice.att.com> bs@alice.att.com (Bjarne Stroustrup) writes:
  13.  
  14. > |jimlynch@netcom.com (Jim Lynch @ Netcom Online Communications Services (408-241-9760 login: guest)) wrote
  15. > |
  16. > | > >For C++, it is _The_C++_Programming_Language 2nd ed. by Stroustrup
  17. > | > No no no no no no no no no no no no. These books are _unreadible_ to
  18. > | > a beginner. ...
  19.  
  20. [Bjarne:]
  21. > |It is worth remembering that `beginner' means different things in different
  22. > |contexts and what `unreadable' means depends critically on what kind of
  23. > |beginner we are talking about.
  24.  
  25. > I think there's a bit more to leaning C++ than there is in learning C.
  26. > ...  IMHO there are tree types of `beginners':
  27.  
  28. > - First time programmers;
  29. > - Experienced programmers but still unaware of the OOD concepts;
  30. > - Experienced programmers aware of OOD concepts, but they don't know
  31. >   anything about the C++ language.
  32.  
  33. > I think that one has to be a beginner of the third kind to be able
  34. > to learn the C++ language successfully.
  35.  
  36. I'll _still_ argue with this.  The Structured world has had the concept
  37. of `informational clusters'; Ada has its packages; other languages and
  38. approaches have had steps, larger or smaller, towards ADT programming.
  39.  
  40. C++ is _not_ an OOPL; it is a PL which supports ADT, OOP, and many other
  41. approaches.  Moreover, it supports them in a unified way; with some
  42. practice in the ADT world, it is natural to step into the OO world.
  43.  
  44. Certainly, some notion of ADT _or_ OO programming will help.  But these
  45. don't require experience in languages that support them.  Kernighan and
  46. Plauger write ``Choose a data representation that makes the program
  47. simple,'' and ``Let the data structure the program,'' and then give
  48. examples in PL/I and FORTRAN-66.  Page-Jones, in _The Practical Guide
  49. to Structured Systems_, writes of Informational Clusters.  And even
  50. Brooks, in _The Mythical Man-Month_, writes of surrounding data with
  51. access functions that abstract the data into the permissible
  52. operations on it.
  53.  
  54. Perhaps what is needed is being a skilled programmer and a skilled
  55. program architect/designer.
  56. -- 
  57.  (This man's opinions are his own.)
  58.  From mole-end                Mark Terribile
  59.  
  60.  mat@mole-end.matawan.nj.us, Somewhere in Matawan, NJ
  61.