[Repost] Don't think that the mode is a good design

zhaozj2021-02-12  182

Quoted from:

http://www.microsoft.com/china/community/chat/chatrecord/chat20030612.mspx

Hong: Q: When should I use the design mode should not use design mode?

Hong: A: This is a question without answers. In general, the design model is a designed example of the design mode in the reconstruction process. In the end, what kind of design pattern should be used, and it is impossible to know when the project just starts.

Hong: Q: Can you tell me a shortcomings of using design patterns or design patterns

Hong: A: Yes. Use design mode to pay attention to first understand software requirements, then need to understand OO theory and pattern theory, and finally should correctly design mode to apply to your own system. Finally, it is necessary to note that what design mode is used, often needs to be known in the process of repeated reconstruction of the code. That is, no one can accurately predict what modeling needs to use.

Hong: Q: It is completely used to use mode whenever it does not cause excessive design mode?

Hong: A: Yes. Do not excessively pursue usage modes. To start from your own software requirements, find the design that best reflects the demand. Don't think that it is a good design.

Eric said: Models are mainly used.

转载请注明原文地址:https://www.9cbs.com/read-6319.html

New Post(0)