The data room charging system has been completed for a long time and I thought it was over. However, a few days ago, I suddenly asked for acceptance.
At the beginning, I felt that there was nothing to do with acceptance. However, there is a small news that the reconstruction may be poor. If it is reconstructed because of the original design idea or logic error, there is nothing to say and it must be reconstructed. However, refactoring based on comments, UML diagrams, and naming conventions will make everyone laugh.
As a result, during the previous acceptance, the people later discussed the focus of the acceptance personnel. Then you are modifying your billing system.
After this acceptance, although I have not been asked to reconstruct it, many problems still occurred during the acceptance process, and the acceptance personnel also gave a lot of valuable opinions.
The first problem is the problem.
Invalid naming rules. In particular, the name of a parameter, which was originally used only in a method or function, does not have to be related to other classes or functions, and does not care too much about its name. However, this kind of code is only suitable for you to see, and others may feel uncomfortable when looking at your code, and at the same time, it gives a layman's feeling.
Incomplete comments. Although the classes, methods, and functions are annotated, they are not very complete. For example, all remarks are empty. The acceptance engineer explained its role, recorded the version number, writing time, and modification time. In addition, do not delete the annotated code, but keep and fully state the modifier and the modification time. Although it is a personal edition, comments are all deleted.
Incomplete documentation. At that time, when I was working on the charging system, I only wrote the requirements, summary, database design and detailed design documents. Others are not written. At the beginning, it was due to inertia. I felt that writing documents was too boring and I was eager to write code. After the system was implemented, I thought the system was implemented, for other documents, forget it.
I do not have a deep understanding of UML diagrams. When I was drawing a UML diagram, I didn't understand the use case diagram too deeply, so that all the use cases in my use case diagram were forms. During the acceptance process, I couldn't help asking myself what I thought at the beginning? How can I see the example chart?
Let's talk about some of the problems that some people encounter (or remind yourself)
Documents and databases are gone. It has been a long time since the charging system of the data center was completed, and some people have reinstalled the system. Some do not back up the data in the database in advance, resulting in the absence of the original data. Some of the documents are modified on the basis of the first record, and the original one is not backed up. As a result, when the current document is a cooperative version, the document that you modified for the third time is not included in the previous two documents.
.
The UML diagram does not know which one is the latest version. Some students have painted UML several times, but when saving the file, they did not notice the name and did not indicate the version number. So that it takes a long time to search, and some cannot even be found.
It should be said that through this acceptance, we realized that the original system had many shortcomings. This request requires us to complete documents, comments, and standardized naming, which makes us a long memory. There is no harm for us. At the same time, this acceptance also makes us realize the importance of file backup, management, and storage. In the future, everyone will remember this acceptance to remind themselves.