《The Pracetice of Programming》读书笔记
Style
Usually,the real code is mostly well down,but with something that could be improved.
There is more to writing a program than getting the syntax right, fixing the bugs, and making it run fast enough.
The principles of programming style are based on common sense guided by experience.
Names
labels an object and conveys information about its purpose.
informative、concise、memorable, and pronounceable if possible
the border the scope,the more information conveyed.
suggestion 1
use descriptive name for globals,short names for locals.