Home  /  Questions  /  Question



60   95.3
Mar 09, 2011


Refactoring to Design Patterns

Hi,  I find it easier to understand the Design Patterns by writing code initially which doesn't follow any pattern or object oriented principles and refactoring it step by step to convert it into one of the predefined patterns and understanding the reasoning behind doing so.

The "Head First Design Patterns" book tries to follow this path, but I find it too repetitive. Some examples are given so much attention that I get distracted from the actual subject.

There is also a classic "Refactoring to Patterns" book, but no examples in C#.

I like the Dofactory examples, but if they have a book that explains each of them in detail (especially through Refactoring approach) that would be really helpful.

So my question is: if anyone is aware of any other book that tries to teach Design Patterns this way, please let me know.
Thanks in advance.



1,364   100.0
Mar 09, 2011
There's an old WROX book on pattern which follows this approach.  This is in VB.NET, but it shouldn't matter.  Not sure whether a c# copy is available or not.  It can be procured from

http://www.amazon.co.uk/Professional-Design-Patterns-VB-NET-Applications/dp/1861006985

I had read this couple of years back and found it very useful as it deals with some real stuff and is definitely a good read after Head first patterns.