Chapter 7: It Takes Forever to Make a ChangeUnderstanding The author told us that the most significant difference between a well-maintained system and a legacy system is the time we spend understanding where to make and how to make the change. We won't be hesitant to implement new features fro...Jul 22, 2022 · 2 min readxinyudev.hashnode.dev
Chapter 6: I Don't Have Much Time, and I Have to Change It (2)Sprout Method See the previous chapter, please. Sprout Class See the last chapter, please. Wrap Method See the previous chapter, please. Wrap Class Here We go. I think the most crucial concept is the decorator pattern. So let's see this pattern caref...Jul 22, 2022 · 3 min readxinyudev.hashnode.dev
Chapter 6: I Don't Have Much Time, and I Have to Change It (1)I can feel that when the author says someone doesn't have much time because that person is me. As a developer, and in a not offensive way, as a developer from China, I often don't have much time because there will always be some new requirement for m...Jun 17, 2022 · 6 min readxinyudev.hashnode.dev
Chapter 5: ToolsAutomated Refactoring Tools Don't trust your refactoring tools. I think that is what the writer wants us to know. Here is an example. // I know that isn't a proper name, I know it. class A { private alpha: number = 0; private getValue(): nu...May 28, 2022 · 3 min readxinyudev.hashnode.dev
Chapter 4: The Seam ModelA seam is a place where you can alter behavior in your program without editing in that place. That definition caught me; as a foreigner, I had no idea what the writer was talking about. And I don't have enough experience with the famous C++ language...May 22, 2022 · 3 min readxinyudev.hashnode.dev