Slimelite BBS

stl help

Back to EMULATE

From Mike Bilow · 1996-04-05 15:25 · #73601 in EMULATE

Chris Downs wrote in a message to Jerry Coffin:

 CD>  I bought Nelson's book.  It's quite good for a thorough
 CD> explanation of  the hows and wheres and whys of STL.  But
 CD> when I started working with  STL rather than just reading
 CD> about it, Nelson's book falls short.  His  index sucks and
 CD> the "samples" are almost always much too simple to be  of
 CD> use.  He almost always makes queues of ints or chars so some
 CD> of the  needs for programming "real life stuff" isn't in the
 CD> sample.  So then you  have to track through the text, blah,
 CD> blah, blah.

 CD>  Then I picked up "STL <Primer>" by some dudes I can't
 CD> remember.  It's  a much better reference.

I disagree with your criticism of Nelson's book.  He is trying to use the STL as a kind of tool to demonstrate the power of template design in C++.  Given that broad objective, the reliance upon containers of simple objects, including built-in types, is an excellent technique for showing off his point.

Nelson intends his narrative to be read as an annotation on the source code, not as a cookbook.  He is interested in the design issues underlying the STL, which are extremely important concepts to use as a teaching model about C++.

My view is that Nelson teaches you how the STL works.  If you want a quick treatment of how to use the STL, Nelson's book is pretty tough going for that.
 
-- Mike


--- 
 * Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)