There is a king of Shu in Bo, and there is God in the river of Great beach. Its cliff precipitous peak is not broken, (ICE) is the accumulated wages burned
--"Huayang National Records"
This is the beginning of the second chapter, "The Lazy Man created the method", and the center of the second chapter of "Boulevard to Jane". Also is chisel a mountain, the foolish public "gravel hits the soil", and Li Bing does "accumulate salary burns", this difference is self-evident. As one joke says, "laziness is the first productive force of mankind."
The so-called lazy is not really lazy, if Li Bing really lazy, do not want to go to Chisel mountain, then even if he found the fire stone can lead to crack, and will not think of using in the mountains. Only when he will devote all his energies to thinking about how to make the mountain easy and quick, will he find a way around this little thing that happens to him.
The same is true of programming. If you get the program to start knocking on the code, it can only be like a foolish general "gravel hit the soil", 1.1 of the code is written out, and may encounter a bottleneck in a process, or after writing a part of the path to find their choice is wrong. It's better to think about how the program should be written, take the process in your heart, or think about a simpler and faster way.
1 million lines of code can be written in a file, which is a common practice for early programmers. However, this writing method may find it convenient to write, reducing the use of goto statements. However, when looking for a function, the drawbacks of writing this way are reflected. You can only press the PageDown key again and again. For convenience, someone invented the Unit keyword. However, if this person does not know how many times the PageDown key suddenly feel so much trouble, want to steal a little lazy, but continue to like ordinary programmers generally again and again to PageDown, then he would not think of the creation unit keyword, We may still go to pagedown again and again now. But if he is really lazy and does not want to take the time to rest instead of trying to change it, the unit is not expected to come out.
We should also look for ways to be "lazy" when we study. If we like the foolish public "gravel hit the soil" generally to learn, will all the teachers told the knowledge peremptorily in the brain, not the system to be sorted out, until the use of the brain in a mess, only 1.1 points to recall, then our ability will be difficult to improve. Because we do not integrate knowledge, but peremptorily them into. It's like putting a book on a bookshelf. Not to sort out the sorting, but to go to the chaos, when we want a book, can only full of the bookshelf to go over. It may even lead to the loss of some books. But if we sort it out normally, then when we use it, we just have to go to the place where the book is. This will take a little more time, but it will be a lot easier to use.
The second chapter of "Boulevard to Jane"