The beginning of the book with the "Yugong Yishan" in the "although I die, there are children, son and Sun, Sun and son, son and son, son and Sun." Posterity, infinite chamber also. And the mountain does not increase, why do not be unfair? "To elicit the fine meaning of programming, what exactly is the meaning of programming?"
"Though I die, there is a son," is to say, if I die, but I still have descendants, this is the hypothesis, that is, programming "if"; "Son and birth sun, Sun and son, son and son, son and grandchild." Posterity, infinite chamber also. That is to say that children and grandchildren will have children and grandchildren, and that this is the "cycle" of programming, and that "the mountain does not increase, and the cause of injustice" is the condition of the end of the cycle. Thus, the fundamental of programming is: order, branch, loop.
Before we start programming, we need to figure out what the program is, and in every programming language we've learned, there's a formula: program = algorithm + structure. So to write the program, first of all to understand what is the algorithm, what is the structure, I want to write the program's algorithm and structure is what. The algorithm is a description of the logical implementation of a program, and the structure is the data entity that the logical implementation relies on. We have programmed the algorithm of the program before we start programming it, the structure is described, then the program is basically stereotyped.
In addition, to write a program, you need to understand at least one program language, from a freshman to the present, we have learned C + +, C #, Java and other languages, we are learning the process will feel how this language is so difficult, but when we solve the task assigned by the teacher, it will feel a language is not so difficult. In fact, as long as there is interest, will feel nothing difficult, if not interested, will feel anything is difficult. Therefore, if you want to learn a language, proficient in a language, you must have the motivation to learn, but the motivation comes from their own interests.
The first chapter of "Boulevard to Jane" Let me understand that basically anyone can learn to write a program, but the premise is to master the programming language, the programming language interested in, and then understand the logic implementation of the program and the logical implementation of the data entities attached to it, namely the algorithm and structure, with these two prerequisites, programming is much simpler.
Read the notes on the first chapter of "Boulevard to Jane"