Note: I forget the teacher asked what time before the submission, the reason why it was so late because I think to write a book, it is best to read the books after reading and then write the review is better. But until this evening I found that because I was not a solid foundation, programming attainments are not deep, so in just a few days it is impossible to finish reading this book. Of course swallowed superficial understanding is no problem, but it is almost impossible to read the meaning roughly. So I had to write and read the 12th chapter.
The first chapter of the title is the meaning of programming, is about how to use the simplest and most popular the most stupid way to write a program. The story of "Yugong Yishan" runs through the whole. The foolish public first has the user demand, namely is two big mountain blocked the door. There are specific goals, namely, the removal of the two mountains in order to make themselves and their families easy access. Then there was the project group discussion--gathering room, and there were the executive and the manager of the project--the three sons of the foolish man working, the foolish public is the manager, the coordinator of the project-the three-year-old child; there is a certain achievable way-the mountain does not increase, and people can continue to move like ants. There are branches-"Although I die, there are children," for generations, there is always a day to move the mountain. And here comes the idea of circulation. So altogether there were three structures--order, branching, circulation.
And then use this analogy to make a program--
Step1 Clear User needs
Step2 Clear Goals
STEP3 Feasibility Analysis
Step4 Clear Concrete steps
STEP5 uses "sequence, branching, looping" three structures to implement the program
There is nothing wrong with this thought, but I think there is something wrong with the analysis of the story in the book. I think the specific goal should be the foolish public to go out after the flat, convenient transportation, not to be blocked by the mountain, and to move the mountain is only to achieve this goal of a means, the next step is to move mountain this task analysis decomposition. Can think that the foolish public in order to achieve a so simple purpose, but to pay such a great effort and hard work, catch himself not to say also to catch his descendants how many generations, it is a big fool, no wonder he called the foolish public. First, the first method is the simplest, directly to the door of the house in one Direction to open the line, the second method is to move, moved to the plain area, convenient transportation. The third method is like Li Bing built Dujiangyan when the mountain, with the fire, the direct burning crack on the line. But the third method for the court can also, for the foolish public such people are still an almost impossible to complete the task.
So, analogy to software engineering, should be able to understand this-the customer is the equivalent of a foolish, the goal is to make money or management, the method is to a software. And the software company or the program group is the equivalent of the three sons of the foolish, the job to do is to remove the mountain. Customers do not use the 12th method to make money is the brain convulsions or what is not to talk about, we have to do is really moving mountains, and customers can not say "you should change a way to make money, such as open a restaurant or open a stationery shop or something." So I can only think of a third method, that is, the second chapter of the book is about-lazy people have lazy way. This is not a lazy man, but a man of great wisdom. Things should be improved, such as in the mountains, and in the process of compiling. Perhaps we can use some external force to complete this huge project--such as on GitHub to find out whether there is a suitable framework, or there is no classic template can be easily changed to apply directly later. Of course, I did not learn software engineering, so I do not know very well, I can only say a ballpark
In short, the program also need to pay attention to the method-I think C + + object-oriented programming is very good, can be a large project to a number of people, the completion of the separate.
"Boulevard to Jane" First, chapter two