Today, I went to visit my grandparents and played with my mobile phone. After playing with my mobile phone, my friend sent me a message: "is there any statement that can modify the folder path in batch?" so he asked about his needs. After half a minute's conversation, he found that it was
dir/A => dir/2020/A According to the year corresponding to the excel table, classify the relevant catalog, and confirm that a few minutes is more than enough (too naive)
Since I didn't have a computer in hand and my mobile phone didn't have a proper editor, my friend suggested that he write it. I thought: OK.
Command is really difficult for people who have a programming foundation but can no longer reach their daily work. use
readdirSync Listing all the directories under the directory has been operating for nearly half an hour, let alone debugging.
Calm down, I think, is it really necessary for ordinary people to learn? There is a certain need. If my friend simply grasps nodejs related skills, I believe that his work will be of great help. He does not need to manually copy and paste time-consuming, recognize the law of repetitive work, write scripts to execute the work, and efficiency will be his biggest experience.
After reading the above paragraph, it may mean "programming depends on work". I don't agree with this view. I agree with it Programming is a skill to improve productivity It can be understood in disguise as "Lazy" 。 The friend mentioned above is just in the heavy processing of massive data, which is a little tricky. But if it's not related work, you can also use programming in other places to avoid being hit by the platform price difference when you buy your favorite items. You can master English indirectly and surf the Internet scientifically. Do not need to love, just because of interest and to understand, learn, meet the needs Happy, happy That's fine.
I saw it a few years ago "Python enters Shandong primary school textbooks" In retrospect, children's competitiveness has started since childhood. Cultivating thinking logic, observing children's interests and hobbies, and solving problems can be more logical.
After all, the lowest cost of open-source programming can be learned everywhere due to the low cost of the Internet, You don't lose if you don't learn.