Under the teacher's mercy, I was forced to read the first chapter of this "Boulevard to Jane". To tell the truth, the whole first chapter did not have 1000 words, but the teacher let me write 1000 words of the reading, really let me very embarrassed. And, in the preface, the author also emphasized why the name "Boulevard to Jane": "I just want to write a book that clarifies the core idea of software engineering, the book will be easy to read and understand, it is easy to figure out, it is easy to know." "So the teacher asked me to write so much of the book, I think it is against the author's original intention."
In the first chapter, "The Fine meaning of programming", the author mentions the story of "Yugong Yishan", where it refines the fundamental of programming: order, branching, and looping. That said, people who know how to get up and brush their teeth in the morning should write programs. So it should be written by everyone, but why is the programming language still a headache for a lot of people? I think it is not the understanding of what is wrong, but the beginning of fear, think this is very difficult ah, I will not ah, how to do ah. Once this mentality is produced, it is impossible to learn the programming well. I give two examples of football goalkeepers, Buffon and Cassie, two completely different goalkeepers, but without prejudice to the two of them becoming the world's greatest goalkeeper. Cathy's greatness was built on his immense confidence that he could hold the ball, so he was able to pounce, and he was constantly reflecting on how the ball should be put out, and why the ball was in. Therefore, he will think about it before each save, and then make the best save action. Building a strong self-confidence and constant reflection is what I get from the experience of two goalkeepers, and these two points I think are completely applicable to the learning and operation of programming, first of all I should be sure I can do well, and then through continuous reflection summary, continuous progress.
The author of the book mentions that programming is very simple, program = algorithm + structure, code does not exist. The teacher also talked about in class, study a language seriously, can learn in two weeks. What I have seen through this is not because of the language, but from the logical chaos. Think about how many people get a task, they can't wait to write the "include" and other routine characters, and then is to write a step to think of a step, in the mind there is no overall framework. As the teacher said, it is obviously impossible to solve all the problems with an algorithm. For example, we need to find out two number of greatest common divisor, this problem with an algorithm obviously can not be completed, this time I need to consider, first of all the number of the approximate, the same way to find another number of the approximate, the same number is raised, the problem does not solve it? As my high school math teacher said, a formula, must not be solved in one step, need to write the necessary steps, in order to calculate the time, the mind can build up the model of the formula, in order to check the time can find errors, "Rice to eat a mouthful, the road to step by step, the pace is big, easy to pull eggs." "
Simply put, want to write a program first of all in the heart to have a program, everything in the heart of the simulation, then the rest will only hit the keyboard.
The first chapter of "Boulevard to Jane"