Design Patterns – Types, tastes and flavours

So i will talk about design patterns now for a while. The detailed types and classification will be posted later but in this post i will just talk about what i am going to do in my future posts. So i am following this really nice explanation strategy defined in a book ‘C# 3.0 Design Patterns’ by Judith Bishop.

So every pattern that i am going to explain will more or less consist of the following parts

  • Definition
  • Design
  • Usage
  • Code
  • Example
  • Lab

I may end up adding another bullet later on but i wont be removing any in the later posts.

So there are three general flavors of design patterns in .NET

  • Creational
  • Structural
  • Behavioral

We will discuss them in detail. But our main aim is to practice those patterns in real life so you will be able to think design in real life as well. Offcourse code is important as its the base but thinking design in real life will help you tear down any problem statement in to nice Box-Separated design.