Common programming error:
1. Attempting to use an expression of a non-variable reference to use the rendering operator, it will cause grammatical errors. The so-called variable reference is a variable or expression that appears on the left side of the assignment operation. Columns such as (x 1) syntax errors.
Performance Tips:
1. If the expression contains an invariant value, avoid putting him in a loop. Such an expression is only evaluated before the loop. By optimization, most compilers can ban excess values.
2. Break and continue statements, such as use, speed should be fast than structured programming technology
Good programming habits:
1. Some programmers are always using curly brackets in the Do / While structure, even if they don't need them. This helps prevent the While structure from confusion with the DO / While structure of the statement.
Engineering knowledge:
1. Implement high quality software engineering and achieve best performance, always cannot be obtained. For most emphasized performance applications, you can use the following experience: first make sure the code is simple and correct, then make it faster and smaller, but only under absolute conditions.