Design pattern used in projects


Question

Hi I am learning Design patterns these days. I want to read design pattern used in various projects and how it is implemented. Implementation is helpful to connect the design pattern in broader picture and why they deiced to use that pattern. Problem with open source projects are they are not documented properly.

Can anone help me with sm online resource?

PS: if possible i need in c or C++

UPDATE: projects that are listed below :
http://www.boost.org
http://sourceforge.net/projects/loki-lib/
'POCO.'
ACE (The Adaptive Communication Environment).

If anyone want to add more please do. Personaly i looked at the above projects and found boost to be a good choice to start.

UPDATE: Due to a nice post on java which describe design pattern Examples of GoF Design Patterns in Java's core libraries .I am including some other languages in tag as well that i know

1
9
5/23/2017 12:20:39 PM

Accepted Answer

boost, a very well written and documented library implements several design patterns. it's quite a large library, and these implementations are used in the libraries.

http://www.boost.org

boost is found in many projects, but loki's also worth reading:

http://sourceforge.net/projects/loki-lib/

the original author of loki (Andrei Alexandrescu) went over many of the design details in a c++ classic Modern C++ Design: Generic Programming and Design Patterns Applied.

5
2/18/2011 9:00:04 AM

I found a very helpful examples of how/where is particular pattern used under the java tag (it shouldn't be to hard to understand it): Examples of GoF Design Patterns in Java's core libraries


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon