Advantages:
1. There are many annotations first! Feeling warm ...... At the same time, I am ashamed of the code without comments... When writing code, I often do not bother to write comments. When reading other people's code, I always speak out without comments. That's what I do... So I think it's really touching!
2. The structure is clear and the process is easy to understand.
3. There are some basic exception handling methods.
Disadvantages:
1. The code is redundant. Write the three modes into three classes. Each of them writes functions such as inittye and output, which can be shared (or integrated.
2. When using a state machine, you can use enumeration variables to make its State clearer, rather than using numbers such as 1 and 2.
3. The format is not standard in some places ("=" without spaces on both sides ).
Code Review-peer programming partner