CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Darrell Norton's Blog [MVP]

Fill in description here...

Head First Design Patterns book now has C# code samples available

Mark McFadden has made the excellent Head First Design Patterns book's code samples available in C# here. He even uses NUnit instead of Console.Writelines. Great job, Mark!


Published May 18 2005, 09:00 AM by darrell
Filed under: ,

Comments

Bill said:

I absolutely loved this book b/c for a long time, I had a lot of trouble *really* understanding many patterns. This book helped out a lot - and the port to C# is great b/c I did a conversion and I can compare how close I got to the target. The nUnit stuff was a nice touch as well. Great post!
# May 19, 2005 6:47 AM

darrell said:

Bill - yeah, except the guy just did a straight port (like he didn't use delegates for the Observer pattern, which annoys me). Sorry I missed you at Code Camp!
# May 23, 2005 8:05 AM

Mark McFadden said:

Darrell, can you provide an example of the Observer pattern with delegates. I am interested. Thanks for the feedback.
# May 23, 2005 8:39 AM

Mark McFadden said:

Based on a little research I have a project in the download that utilizes a delegate and event declared in the subject that is registered by the observer. This looks more versatile than the implementations of subject and observer interfaces.

The new project is named Observer.CSharp.WeatherData with the NUnit test for the implementation in the ObserverCSharpWeatherDataDisplayFixture.cs file of the DeveloperTest project.

Thanks again for the input!
# May 23, 2005 8:15 PM

Darrell Norton's Blog [MVP] said:

I left a comment yesterday that Mark McFadden's code samples for the Head First Design Patterns book...
# May 24, 2005 10:51 AM
Check out Devlicio.us!

Our Sponsors