Design pattern

Instead of defining what is design pattern lets define what we mean by design and what we mean by pattern. According to me design is blue print[print?:printing image graphic cutting solution] or sketch of something so it can be defined as creation of something in mind. Moving to pattern, we can define it as guideline, or something that repeats. Now the definition of design pattern becomes creating something in mind that repeats or in other words capturing design pattern to the problems.

Design pattern provides a core of the solution in such a way that you can use the core solution every time but implementation should and may vary and the main reason behind that is we have the core solution and not the exact solution.

We can always find design patterns in any standard book but I will be dealing with the actual use and examples of them.