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!

This entry was posted in .NET, Agile. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

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

  1. 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!

  2. Mark McFadden says:

    Darrell, can you provide an example of the Observer pattern with delegates. I am interested. Thanks for the feedback.

  3. darrell says:

    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!

  4. Bill says:

    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!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>