home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15490 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cs.utexas.edu!usc!sdd.hp.com!think.com!sophists.com!lewis
  3. From: lewis@sophists.com (Lewis G. Pringle)
  4. Subject: Re: Algorithms in C++ (was: text compression)
  5. Message-ID: <1992Sep15.075339.5023@sophists.com>
  6. Date: Tue, 15 Sep 1992 07:53:39 GMT
  7. References: <ksand-040992183535@wintermute.apple.com> <D88-JWA.92Sep7111945@dront.nada.kth.se> <18j1kaINNhqd@agate.berkeley.edu>
  8. Organization: Sophist Solutions
  9. Lines: 24
  10.  
  11. In article <18j1kaINNhqd@agate.berkeley.edu> John Werner <werner@soe.berkeley.edu> writes:
  12. >
  13. >
  14. >In article <ksand-040992183535@wintermute.apple.com> Kent Sandvik,
  15. >ksand@apple.com writes:
  16. >>For instance the new "Algorithsm in C++" by Sedgewick has a code
  17. >>snippet showing how it's done.
  18. >
  19. >Is this book any good?  I liked the original "Algorithms", but
  20. >didn't like "Algorithms in C".  The examples hadn't been rewritten
  21. >in C;  the old Pascal examples had just been transliterated into C,
  22. >making them look fairly awkward.  Did he do it right this time?
  23. >
  24. I would say the book is reasonably good, but if you've read the original,
  25. your done here. The C, and C++ versions are very light reworkings for
  26. those languages. Humerously, there are even some comments about limitations
  27. of C++ that are really limitations of Pascal - the book was mostly rewritten
  28. with sed :-).
  29.  
  30. The examples are generally in C++ syntax but there is NO consideration of
  31. using classes to encapsulate nor other C++ specific design techniques.
  32.  
  33.                 Lewis.
  34.  
  35.