If I am lazy, the program is more lazy than me, and if I am diligent, the program is more diligent than me.

    There is a small project. When writing, the program has several functions and needs to use some methods, because I have already compiled these methods in the draft first, so I think I can copy it and make some small changes. Who knows , Once generated, browsed, the result is always unable to achieve the predetermined function.
    I didn’t agree at first, I adjusted and adjusted, changed and changed, from being full of interest to being boring, then looking at the code and sighing, and finally exhausted and drowsy, I almost thought the adjustment was not good, so I carefully checked step by step. , Finally got it done, it took a whole day!
    I remember the last time, there was a similar problem. There was a program with a method in it. Because of my negligence, I missed a symbol. After the program was generated, some strange results appeared when the program was running... It took a long time later. Only found the problem.
    After thinking for a while, I found that the culprit of this kind of problem turned out to be - ten lines at a glance when looking at the program code!
    If I look at the program code carefully, there will be no such low-level problems at all.
    When programming, it is important to be careful. If I am lazy, the program is more lazy than me, and if I am diligent, the program is more diligent than me.

 

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324081257&siteId=291194637