Thursday, March 22, 2007

Fear of Design Patterns - Let it go!

Many of us shudder when we hear some one blabbering on Design Patterns.

Well, there is nothing to fear, as the beauty of design patterns lies in the fact that we have all used it some where unknowingly. Well, may be not all, but some of them at least. Have you heard of MVC (Model-View-Controller) pattern? Yes? Good. Have you used it? No? Are you sure? The very code-behind architecture in Visual Studio .NET (the idea of separating code (controller) from the presentation (view)) is based on MVC pattern.

Have you heard your OO evangelist yelling : "Code against Interface, not implementation!"? He is referring to Strategy Pattern.

The event handling in .NET is based on the Observer Pattern.

Now you get the picture, right? So dont hold behind. If you are new, get hold of the Head First Design Patterns book and have a wonderful ride!

Disclaimer: No, I don't get paid by O'Reilly! I just love the book!

No comments:

Post a Comment