I have been designing. NET software for almost four years. Like everyone else, I have experienced ups and downs, worked overtime all night, and cared about every line I wrote.CodeWill also carefully read the code of each line of others; will not only tirelessly read a variety of software design books, will also face messy code scratching your ears.
I believe everyone can understand the experience during this period. For me, the most profound experience is to have a piece of information that can help me the best. Although there are many classic books we can refer to, the disadvantages of classic books are also common, that is, there is a distance from the actual situation.
In fact, we all know that the best guidance material is nothing more than empathy.
I believe that you will post this article on the blog site every day.ArticleThe purpose is to share your learning experience, communicate with others, and make progress together. however, the articles of each person are scattered everywhere, and no one collects and organizes them in a unified manner, which leads to a waste of knowledge. therefore, today I am posting this article, hoping that bloggers in the blog Park will send me information that they think is useful in various ways, I will collect and organize them in a unified manner and finally share them with every software developer.
Due to the lack of theoretical knowledge and the lack of practical experience, the content of this solicitation is the experience of personal software design.
In order for everyone to understand the content of this solicitation, I will introduce some experiences in the combination of <gof23 design patterns> theory and. NET platform (not limited to the design model,You can share with others, or even your original).
<Gof23 design patterns> obscure design patterns includeSingle-piece mode, observer mode, iteration mode, original modelAnd other four design modes.It is easy to implement in. net, As follows:
- The single-piece mode can be implemented using the readonly and static keywords;
- The observer mode can be implemented with an event;
- The iteration mode can only be implemented by inheriting the ienumerable interface;
- The original mode only inherits the icloneable interface;
I believe that after reading the <gof23 design patterns>, anyone will immediately learn these four design patterns from the above four points.
Note: I will organize the actual experience collected this time into a document and send it to every experienced blogger immediately. Each experience will be followed by the name of the sharer.