Chapter IV critical "to build" decision

Select programming language

Use familiar language, productivity is higher than the use unfamiliar language.
High-level language than the use of high productivity low-level language.

Programming conventions

In the high-quality software, you can see the "architecture of the concept of integrity" and "The underlying implementation" relationship between. Implementation must remain consistent with the architecture, and this consistency is intrinsic, inherent.
The key to success lies in programming to avoid random variations, so your brain can focus on those who really need change.

Your position in the technology wave

"In-depth programming language to" programmer first decide what he wants to express that thought, and then decide how to use the tools provided specific language to express these ideas.

Select the main building practices

Construction of part of the preparatory work, is to decide in so many alternative practices in, what you want to emphasize.

Checklist: The main building practice

Coding
- [] determine how much work needs to advance, how much work to be done on the keyboard.
- [] predetermined name, comment, and other coding conventions code format.
- [] provide for specific coding practices as determined by the software architecture, such as how to handle error conditions, how to deal with security matters, for the class interface which agreed, reusable code to follow what criteria, the number of performance factors to consider when coding.
- [] to find their place in the technology wave, and adjust their own measures. Learn how to "go deep programming language", without being limited to language.
Teamwork
- [] define a specific set of steps, the provisions of the code programmer before check in to the main source, you must perform these steps.
- [] programmers in the world of programming, or programming alone, or a combination of the two.
Quality assurance
- [] programmers write code before, whether to whom to write test cases?
- [] programmers write unit tests for their code right (whether before or after the write-write)?
- [] programmers check in before the code, the code will step through the entire process you use a debugger?
- [] programmers check in before the code, it will be integrated debugging?
- [] programmers will review or examine other people's code?
Tools
- [] if you chose a version control tool?
- [] whether you choose a version or versions of a language compiler and language?
- [] if you have selected a programming framework or explicitly decided not to use the framework?
- [] you decide whether to allow the use of non-standard language features?
- [] selected and whether you have other tools that will be used - Editor, refactoring tools, debuggers, testing framework, grammar checker, etc.?

Guess you like

Origin www.cnblogs.com/liam-ji/p/11504532.html