Today, I saw an article in the 11th issue of 2004, the author is Wen Wei, entitled "hug changes, agile development from theory to practice", quite touched. The article is proposed, and the benign trust is harmless to the system. When you are expected during design, it will happen, this is perfect design, otherwise, it is over-design! ! Many times, programmers or system analysts like to use design patterns, hierarchically, without examining system actual conditions, and feel a bit of mode. I feel that I have this tendency, our current project, business logic is not complicated, basically a large number of working forms of CRUD operation, and the possibility of complex logic in the future is not large. The DAO layer and service layer can be combined, simplified to two-layer structure. My point of view is: For multi-storey, there is no need to rely on it, it should be specifically treated in the case, otherwise, it is to go to school! Oh, a big hat. In the five major principles of the object, the principle of opening and closing, the principle of relying on the inverted principle, we are familiar, always reward, "dependence on abstraction, not relying on specific implementation", "draw a changed part of", ", it is easy to lose. The last "benign dependence is harmless" is what makes us awake, the design of the Zhengqing source is to adapt the demand, the unalerous chess under the Go master is sometimes the copy of the chess game, not one copy Type.