Welcome to “Algorithms and the Beauty of Programming” ↑ pay attention to us!
This article was first published on the wechat official account “Beauty of Algorithms and Programming”. Please follow us and learn more about this series of articles in time.
Concerned about our public number of students, I believe that more than 90% are learned programming, and may have been committed to application programming engaged in software development activities. So have you ever wondered why you should learn to program? What is the nature of programming?
In 1946, the world’s first electronic computer was born. At that time, the computer was very large, mainly for scientists, engaged in a large number of calculations. Compared with any previous computing tools, the computing power of this computer is more powerful.
With the continuous development of hardware technology and software, electronic computers have become smaller and smaller, and the most important is the introduction of desktop operating system and peripherals such as the mouse, making the operation of computers more and more convenient. At this time, the Computer is no longer a scientist’s favorite, but into the ordinary home, the Computer is called PC(Personal Computer).
Computer memory due to its powerful computing and storage capacity, making its application scenario is becoming more and more widely, from the initial computing services for the scientists to the scientific research, to the ordinary people of office, listening to music, play games, watch movies and other entertainment function, to the application in industrial production control, space control and other high-tech fields.
At this point, can not help thinking, facing such a powerful computer, can we use it to do more things, to do some things we do not like to do? To do something simple, repetitive and worthless?
Which raises a very important question, how do you communicate with the laptop in front of you to get them to do these things? Can’t we just say to the computer, you go do something. The answer is clearly no. We can’t do that with the current technology.
Next, we’ll look at how we can make computers do what we want them to do. I learned that the computer speaks machine language, that is, the simple number 01, while we speak natural language, such as Chinese.
Two subjects of different languages cannot communicate directly with each other. How can we solve this problem?
There are three main solutions to this problem:
(1) Let human to learn machine language, that is, when human give instructions to the machine, all use 01 numbers that the machine can understand, this scheme is feasible, but the challenge for human is too big, I believe this is the most difficult language to learn in history.
(2) Let machines learn human language and understand human language, that is, various algorithms in the field of natural language processing. Despite the vigorous development of deep learning technology in recent years, computers can only understand simple human language at present.
(3) Neither humans need to learn machine language, nor machines need to learn human language, both humans and machines need to learn C language (C language here is just an example, referring to all programming languages).
Human learning C language can communicate with the computer, can command the computer to do things. Your ability to program directly determines what you can tell a computer to do. If you’re weak, you might just ask a computer to do some simple arithmetic. The better your programming skills are, the better you can teach a computer to read pictures, detect and recognize anomalies, fine-tune devices, and so on.
We want to let the computer to do more things, make full use of the powerful ability of the computer, we need to have stronger programming ability, our life will become more beautiful, more happy.
\
\
More interesting articles:
Where2go team
Wechat: The beauty of algorithms and programming
Long press to identify the QR code to follow us!
Tips: Click on the lower right corner of the page “Write a message” to comment, looking forward to your participation! Looking forward to your forwarding!