Skip to main content
GameDev.net gamedev.net
🔒 Locked

Books

Started by TheUnbeliever Sep 1, 2008 at 5:26 PM 3 replies 1.5k views
Original Post
TheUnbeliever
TheUnbeliever
I'm looking at getting C++ Template Metaprograming: Concepts, Tools, and Techniques from Boost and Beyond and a book on Haskell (preferably that deals with intermediate as well as beginner topics). Is the first book fine? It's recommended in the Boost documentation, but that's just one source. I'm more or less a beginner - I know the rudiments of templates, but can't say I've used them for anything complex; will this book let me follow at least the ideas behind the Boost libraries? Can anyone recommend an up-to-date Haskell book?
[TheUnbeliever]
scottrick49
scottrick49
If you are a beginner, you might be better off with a book focusing on c++ basics instead of the boost library. I never really found a C++ book I really warmed to so I can't give any suggestions there.
scottrick49
snk_kid
snk_kid
The boost mpl book is very very good book but if you're a complete beginner of templates then you'll benefit from a second source before diving into the boost mpl book like Modern C++ Design: Generic Programming and Design Patterns Applied. I recommend first getting a basic grasp of templates from a source like The C++ Programming Language: Special Edition by Bjarne Stroustrup (the inventor of C++, everyone should have a copy of this) then read Modern Cpp Design and boost mpl book last.

As for haskell books, haskell wiki has lots of resources here. I heard Introduction Functional Programming 2/E by Richard Bird is very good for a complete beginner of functional programming using haskell. I read Haskell: The Craft of Functional Programming and i found it to be decent but i already read previous books/resources on other functional languages like SML and scheme.

One warning of advice, once you learn haskell you will hate more mainstream languages, you'll be crying for things like pattern matching lol

EDIT: Just like to point out the boost mpl book and modern cpp design book are short reads it wont take that long to go through them :)
TheUnbeliever
TheUnbeliever
Quote:
Original post by scottrick49
If you are a beginner, you might be better off with a book focusing on c++ basics instead of the boost library. I never really found a C++ book I really warmed to so I can't give any suggestions there.


I can write C++ fine. I'm familiar with various idioms, and happy enough using a wide section of the standard library. I've used templates plenty - just not for anything significantly non-trivial. I certainly wouldn't class myself as a beginner - more a reasonably capable programmer, although by no means an expert.

Haskell I know to an extent (enough to miss a number of things - partial application and pattern matching, particularly, when they're not available) but I'm struggling a little to move beyond 'beginner' level. Things like writing my own monads (when? why?) and so on.

Quote:
Original post by snk_kid
The boost mpl book is very very good book but if you're a complete beginner of templates then you'll benefit from a second source before diving into the boost mpl book like Modern C++ Design: Generic Programming and Design Patterns Applied. I recommend first getting a basic grasp of templates from a source like The C++ Programming Language: Special Edition by Bjarne Stroustrup (the inventor of C++, everyone should have a copy of this) then read Modern Cpp Design and boost mpl book last.


Thanks. I'll take a look at those (I've been meaning to pick up The C++ Programming Language for ages, anyway).
[TheUnbeliever]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.