新陈代谢 发表于 2025-3-23 12:57:24
Test-First Development,ly, to make it perform the same tasks it performed before changing it. Somehow this could sound quite pointless: why be at risk of losing a piece of working code just to improve its design? Shouldn’t the functionality of working code be valued more than its structure?Culpable 发表于 2025-3-23 14:16:58
Changing Class Responsibilities,ure before development is virtually impossible. The real design emerges only when you implement a certain feature; reasoning in micro is easier than reasoning in macro, and requirements can change any time during the developing phase. For this reason, we will discuss emergent design, which means sofGRE 发表于 2025-3-23 21:16:47
Dealing with Data Rationalization,rogramming. Since our goal is to make each part as independent as possible from anything external, classes and methods should receive as much information as is needed to satisfy the task they are meant for.craven 发表于 2025-3-23 23:44:44
http://reply.papertrans.cn/76/7566/756539/756539_14.pngnotion 发表于 2025-3-24 03:08:46
Simplifying Generalization Relationships, hierarchy to the subclass or to the super class (pull up/down attributes, pull up/down method), there is a method that takes care of standardizing the constructor and extracts it on the super class (pull up constructor body), and another very interesting method that helps us to implement the templa咯咯笑 发表于 2025-3-24 09:20:21
Legacy Code, the minds of the programmers rots, over time, like a piece of bad meat.” We would bet that anyone reading this book has faced this situation during her life as a developer. Our best intentions are to build a perfect code base, but time constraints and the tendency to entropy claim their fe摇曳 发表于 2025-3-24 12:58:40
Regression Tests, context. The application has not been maintained for a long time, since the person who developed it no longer works at the company. Management wants some new features and has absolutely no budget to rewrite it from scratch. The development team is paralyzed by this kind of situation. How could we t修剪过的树篱 发表于 2025-3-24 16:15:23
Refactoring with Patterns,erns. All of the techniques attempt to solve common design problems with many common models, which helps us make the design of our application better and easier to maintain. Big refactoring techniques, in contrast to refactoring techniques, require a lot of time and care, because we are changing theCubicle 发表于 2025-3-24 21:10:54
Francesco Trucchia,Jacopo Romeithe value of the history in the diagnosis of disease often seems to be neglected in both undergraduate and postgraduate medical education. The considerable advances in medical technology have made it easy to carry out a multiplicity of tests. As a result, there is frequently an unfortunate tendencyaffluent 发表于 2025-3-25 02:29:25
http://reply.papertrans.cn/76/7566/756539/756539_20.png