In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Today, someone asked: what exactly are we learning about programming?
I thought for a moment and replied, "to learn programming is to learn how to make rules!"
So you will find that among those who learn programming, those who have strong logical thinking ability generally learn programming well, while those who fail to do things generally do not learn well.
Seeing a joke on the Internet is a good illustration of the difference between people with programming thinking and people without programming thinking.
One day, a university teacher asked a student, there are ten birds in the tree, shot and killed one, how many are left?
Ordinary people replied: there are nine more. (one is dead, but there are still nine standing on the tree)
The man who can turn his mind once replied: there is another one. (the dead are still in the tree, and the other nine are scared away.)
The man who can turn his mind twice replied, "none of them." (there is a good chance of falling from the tree, and the other nine are scared away.)
The program answers are as follows:
Q: is it silent?
Teacher: no
Q: how loud was the gunshot?
Teacher: 80-100 decibels.
Q: is it against the law to hunt birds in this city?
Teacher: no offense.
Q: are you sure that bird was really killed?
Teacher: sure. (by this time, the teacher was already impatient.)
Teacher: can you just tell me how many birds are left, OK?
Q: are there any deaf people in the birds in the tree?
Teacher: no.
Q: are there any caged ones hanging from a tree?
Teacher: no.
Q: are there any other trees on the side? are there any other birds on the trees?
Teacher: no.
Q: if a bird is pregnant, is it a bird in its belly?
Teacher: not really.
Q: do bird hunters have flowers in their eyes?
Teacher: no flowers, just ten. (the teacher was already sweaty and the bell rang, but the procedure continued to ask.)
Q: are there any birds that are too stupid to die?
Teacher: they are all afraid of death.
Q: will two of them be killed with one shot?
Teacher: no.
The programmer said confidently: if your answer is not deceptive, then there are two situations: if the killed bird does not fall from the tree, then there is only one left, and if it falls, there is no one left.
The teacher immediately foamed at the mouth and fell to the ground!
I believe you can see the benefits of learning programming, .
So what exactly is programming? Let's first find out what a program is.
Cheng, the accuracy of things. Xunzi becomes an official
Preface, east-west wall. -- Shuo Wen
In other words, "Cheng" represents the standard, and "preface" represents the scope.
So my understanding of programming is simple: to develop a process to solve problems within a certain range. For example, the following picture shows a master programmer.
So much for the concept of programming. Everyone is welcome to express their opinions.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.