C# 3.0 Design Patterns – mistakes in examples

I recently decided to refresh and extend my knowledge about design patterns.

I chose to read  C# 3.0 Design Patterns by Judith Bishop mostly because of the promise of having every example in C# 3.0.

C# 3.0 Design Patterns

C# 3.0 Design Patterns

It is actually a good book, with comprehensive examples and UML diagrams of 23 design patterns.

Because of the busy schedule, I barely have time for reading, but in the morning, when I go to work, the 30 minutes bus ride seems the perfect time for reading.

This morning I was very happy because I found a mistake in one of the examples. Not really something obvious or something I could bet I’m right (I had to double check it by running the example), but I was able to notice some really important bug in the code and the expected output. I would even say, a priority 0 bug, given the fact that the whole example was trying to prove some behavior in a wrong way.

Don’t get me wrong, I’m not criticizing, I’m just pointing out, that even at this level, mistakes can be done, and I’m able to spot them 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.