Use design pattern directly or not?

xiaoxiao2021-03-06  74

<< Agile Software Development >> which refers to such a question "If you are familiar with design patterns, then when faced with a design problem, a pattern will very likely pop into your mind .The question then is whether or not to implement that Pattern Directly, Or To Continue To Evolve The Code Through a series of small steps. "Oh, you are also confused, and you will also argue with your colleagues when you do a project. For me, the main factor for decisions is time. If the project time is slightly married, then I will spend more time from the beginning of the design. Otherwise. Of course, it doesn't work. The suggestion in the book is Step by step. In addition, the design pattern selected by the design start phase is not necessarily suitable; from XP's point of view, the design mode is easy to fall into excessive design.

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

New Post(0)