Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ class design patterns in open source projects

I have recently started learning design patterns. I have understood the basics of few patterns. Now I want to get familiar with some real code examples where these patterns are being utilized. Can somebody here please point out to some open source projects where design patterns are being used ? I would like to see how design patterns are being used in real world code.

like image 368
cppdev Avatar asked Feb 23 '11 12:02

cppdev


People also ask

Are there any design patterns in C?

There are various patterns in the C language like star patterns, number patterns, and character patterns.

What is C pattern design?

Design Patterns in the object-oriented world is a reusable solution to common software design problems that occur repeatedly in real-world application development. It is a template or description of how to solve problems that can be used in many situations. "A pattern is a recurring solution to a problem in a context."

What are the design patterns used in project?

Creational design patterns are the Factory Method, Abstract Factory, Builder, Singleton, Object Pool, and Prototype.


1 Answers

Following are some of the links. JUnit Cookbook provides brilliant example of quite a few patterns - really worth checking.

  1. JUnit Cook's Tour
  2. Vince Huton's DP
  3. Design PAtterns

Hope that helps.

like image 148
Nilesh Avatar answered Oct 22 '22 13:10

Nilesh