"The Pragmatic Programmer: from work to the experts" Book 3

Each craftsman at the beginning of his career, will prepare a set of good-quality tools. These tools will be carefully selected to create a more robust and complete specific work for very little overlap with other tools. Then learning and adaptation process begins. Every kind of work has its own characteristics and oddities, and requires special treatment to give the corresponding. Every kind of tools need to be polished in a unique way, or in a unique way control. By the time the tool becomes a channel between the mind and artisans made to the product - they become an extension of the hands of artisans. Finally tool to magnify talent craftsmen. Better tools, more artisans to better master their usage, productivity will be higher. This points to a common mistake these shapeless our programmers and some new programmers: a single powerful tool. For example, the specific integrated development environment IDE, and never leave the comfort of their interface. This is a mistake, we would be happy to go beyond the limitations imposed by the IDE. To do this, the only way is to keep the basic tools sharp and ready set.

Next, the book introduces the power of plain text. Plain text can be in the form of direct people to understand, compared with binary code, in which the higher level plain text. But the plain text also has two disadvantages: 1 large space required; 2 needs to explain and document processing, the greater the cost of the calculations... But the plain text also has important advantages features: 1 to keep it up; 2 leverage; 3 easier to test.... Keep it up easily reached, and can automatically save all the changes of history, you can monitor whether the file received accidental modification.

Back, and then another describes the shell game, powerful editor, source control, debugging, version control, code generators, etc., explained their respective advantages and disadvantages and the corresponding properties, for those of us beginners have a great inspiration.

You Can not Write Perfect Software! (You can not write perfect software!)

Perfect software does not exist. This makes us feel depressed, but pragmatic programmers but turn it into favorable conditions. Similarity coding is fairly obvious, we have to defensive coding. But pay attention to the effectiveness of the programmer will further, they even do not trust, because there is no perfect code, so they will be defensive coding for their mistakes. This article focuses on contract design interpretation, does not lie dead, asserted programming, when to use exceptions, these five methods how resources trim, help us to improve the timeliness of the program, which for me this rookie is a valuable resources.

Guess you like

Origin www.cnblogs.com/vvxvv/p/11761833.html