I have been back from the company for a week, but I still have to answer the question in front of me.
I have a poor answer, especially nervous, Yun. I have a deep feeling on some points.
(1) I think I have written thousands of linesProgramYour complete settings should be awesome and complicated.AlgorithmMy senior friend should be surprised. But in fact, I was surprised at the end. They didn't mention any algorithms. They grabbed my interface and asked me questions.Code. My interface was prepared the day before the reply, and I have never done it before. It is not easy to do it within one day. But it is still rejected. I thought I had written a very good program, but in their eyes, it was a very bad software.
(2) As a single-chip computer programmer, as an electronic person, I did not care about the software demand analysis. However, I was immediately shocked to see the demand analysis written by others. This is the real software! I have been immersed in the achievements of thousands of lines of code, and I am confused by algorithms, but I finally forgot to write software. It's no wonder that my senior friend says that my interface is ugly.
When I came back, some people asked me to complete the setup, namely to write a simple single-chip microcomputer program and a reference program. When I saw the reference program, I immediately felt that the program was really bad like shit. All functions are crowded into a file, and there are a lot of global variables. The function almost does not pass parameters, and all uses global variables.
Sheet! It's really a shit-like program. I used to see that this kind of program is awesome, but now it feels terrible. Such Code cannot be maintained and can only be understood by the author. As long as the program is a little larger, it cannot be debugged.
I have seen my bad habits. I used to be ignorant.
The idea of software engineering must exist. The requirement analysis and clear Code cannot be written, and you cannot use yourself as an electronic shield.