which is more important to learn design patterns or templates

I wanted to know which is better use of my time learning design patterns or templates. i have design patterns elements of reusable object oriented software. and so far its a good read but templates kinda interest me more. I know there are some antipattern folks so i dont want to start a war but as a beginner which would be more useful to me.

There are still tons of other things im learning still but i like to jump around to keep it interesting.
Design patterns aren't exactly a built-in feature of C++, however I find it tricky to deny the fact that they're useful. :)

Templates are built-in feature of C++, and are important to know if you want to understand all of what C++ offers.

My vote is that you go with templates first, then learn the full extent of what you can do with C++'s classes, EDIT: but I'm not putting one over the other in terms of importance.

-Albatross
Last edited on
Read that GoF book!
closed account (z05DSL3A)
+1 Albatross

A good book on Templates:
C++ Templates: The Complete Guide
Nicolai M. Josuttis & David Vandevoorde
Nothing against C++ Templates: The Complete Guide, it is a great book, but it's not for beginners.
ok thanks guys. I will check out C++ Templates: The Complete Guide also. i like a challenge
Last edited on
Topic archived. No new replies allowed.