Anyone know any open source c#/asp.net projects that are well documented, use design patterns appropriately and contain the best practices? I want to read high quality code, learn from it and apply it to my job.
C++ comes with two standard libraries: the old C library (libc. lib), and the new C++ library (libcp.
facil.io is an evented Network library written in C. facil.io provides high performance TCP/IP network services by using an evented design that was tested to provide an easy solution to the C10K problem.
The leading framework for C++ development is Qt which is the most popular C++ framework for (not only) GUI development.
The C standard library provides macros, type definitions and functions for tasks such as string handling, mathematical computations, input/output processing, memory management, and several other operating system services.
I highly recommend reading through Framework Design Guidelines (by Cwalina and Abrams).
They designed large chunks of the .net base classes, and talk a great deal about API usability. The book is a fairly easy read; it highlights many do's and don'ts in the .net framework. If you are short on cash, then you can get some free guidelines from msdn.
In my experience, you will not learn what you want by reading code, even if it's good quality code. If nothing else, the comments in such code will more likely be about what the code is trying to accomplish, and less about how the code properly used the design pattern.
If you want to learn design patterns, then you need to look at something that intends to teach you design patterns. It's possible that there is some body of code which has this purpose in mind, and perhaps someone can point you to it. It just seems unlikely to me that a piece of code that is good at one thing will also happen to be good at teaching you design patterns and best practices.
Read books , read blogs and write code that is how you will learn design patterns and programming in general
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