Talking about the relationship between our thinking and programming

The past few years has been committed to the essence of the program hope to bring more people in, but suddenly look back, it seems that the core point program to bring benefits, but it always felt obscure words. Is not hard to explain, but has been quiet in technology, you can not describe the inner vision. Today gave you talk about the benefits of thinking to bring programming to everyone. Here we do not comment on who is good and who's bad, just talk about it!

file

When the first of which is the overall macro-thinking, people with programming thinking, thinking about one thing when no longer facing a step by step how to do it, but think of the whole. In the whole will be cut into different dimensions be measured, and calibration data. This mode of thinking such as grocery shopping

file

From the above figures, I think we're a little sum up, the biggest difference is that rational, and to say that we will find a fine programming thinking have limited range, such as accounting dishes. The thinking on similar we write for loop, always specify an end condition. Secondly, we also see the program thinking of troubleshooting, which determine if similar statements, are not eligible for direct execution is not. Then the third it? Thinking more complicated! We take a look!

file

From the above chart, we can see that for similar programming thinking, let's deal with one thing at the time, adding layer upon layer of judgment, and the corresponding branch, this way, the most direct is to allow us to reduce possible mistakes .

file

From the perspective of life in terms of programming later learned, we no longer have a 404 page not found a fuss about the emergence of applications on the phone, the network signal reconnection will be relaxed and calm when bad, sent to others the URL will somehow alert, based on the number of users of illegal operation to bring wonderful phenomenon will not blind the sky and shouts, of course, only I just enumerated appearance, along with in-depth learning, you will find that programming can help you solve many problems among the living!

file

Guess you like

Origin www.cnblogs.com/qidaoxueyuan/p/12427869.html