In large projects, software is often composed of many relatively independent modules. The purpose of our design is to generate ease of use, and the interface is simple enough, and the function satisfies the demand module. The design of complex and difficult to operate is a failure design, whether it can achieve how powerful features.
Unfortunately, in the game development, even if we will discuss the design and expected demand in the previous period, your design will have some vulnerabilities.
OK, we are now discussing how to avoid vulnerabilities, but how to fix when the vulnerability appears. In general, the programmer will use two methods when designing vulnerabilities, one is to play patch, many people like to be super strong people with "Code Hacker", such people will be "appropriate" Local use of Hard Code or solve the problem with the language itself, everything doesn't seem to happen, the problem is solved this :) This ability is very important for programmers, especially the game program, in me In the project, on the eve of the market, this is also the most effective way to solve the bug. However, this problem brought in the project may be a consecutive, and it is also a propaganda to bring confusion and greater problems.
Another answer is a refactoring, then what should we do? The answer is to put down all the things in your hands (including your child ^ _ ^), re-design thinking. Hey ... Do you forget the previous ideas? Either you make a mistake preparing to make your documentation! Record your thinking, maybe it is not enough to touch you to rewrite the code, but this does not mean that it will not accumulate, does not represent evidence that you don't find any interface.
Then when will we start reconstruction? Is it going to wait until you thoroughly thoroughly into the trash can? wrong. When you play chess, the best way is to discuss, discuss your design, say your doubts, you can give you the right advice. If your design has brought troubles for many people, don't hesitate, delay can only bring more people to bring trouble and helpless.
Don't refuse to refuse, because the reconstruction does not represent failures, it is not wrong. On the contrary, it represents more mature technology, and it is more profound. Congratulations, your design capacity is improved :)