I am planning to learn C# on the job - a moderately complex (2000 lines of code) project. I am interested in picking up "design patterns" along the way.
Can anyone suggest a book that doesn't assume too much of c# expertise and teaches design patterns? It's ok if the book is not devoted to design patterns (it could be one of the chapters).
There are various patterns in the C language like star patterns, number patterns, and character patterns.
Design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects. The 23 Gang of Four (GoF) patterns are generally considered the foundation for all other patterns.
Design Patterns in the object-oriented world is a reusable solution to common software design problems that occur repeatedly in real-world application development. It is a template or description of how to solve problems that can be used in many situations. "A pattern is a recurring solution to a problem in a context."
Gang of Four has divided the book into two parts with the first part explaining the pros and cons of object-oriented programming and the second part describing the evolution of 23 classic software design patterns.
An excellent book is Head First Design Patterns. Easy to understand and follow and a fun read.
The GoF book is where it all started, but I found it very dry and difficult to grasp. Not what I would recommend for learning.
Examples are in Java, but the concepts translate well.
You can even get C# examples.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With