 Google Java Style GuideSpecial characters 2.3.1 Whitespace characters Aside from the line terminator sequence, the ASCII horizontal space char- acter (0x20) is the only whitespace character that appears anywhere in a source file indentation level if and only if they begin with syntactically parallel elements. Section 4.6.3 on Horizontal alignment addresses the discouraged practice of using a variable number of spaces to align certain Multiple consecutive blank lines are permitted, but never required (or encour- aged). 4.6.2 Horizontal whitespace Beyond where required by the language or other style rules, and apart from lit- erals0 码力 | 19 页 | 84.76 KB | 1 年前3 Google Java Style GuideSpecial characters 2.3.1 Whitespace characters Aside from the line terminator sequence, the ASCII horizontal space char- acter (0x20) is the only whitespace character that appears anywhere in a source file indentation level if and only if they begin with syntactically parallel elements. Section 4.6.3 on Horizontal alignment addresses the discouraged practice of using a variable number of spaces to align certain Multiple consecutive blank lines are permitted, but never required (or encour- aged). 4.6.2 Horizontal whitespace Beyond where required by the language or other style rules, and apart from lit- erals0 码力 | 19 页 | 84.76 KB | 1 年前3
 Google C++ Style Guideabbreviation. Give as descriptive a name as possible, within reason. Do not worry about saving horizontal space as it is far more important to make your code immediately understandable by a new reader namespaces, put each namespace on its own line. namespace foo { namespace bar { Horizontal Whitespace Use of horizontal whitespace depends on location. Never put trailing whitespace at the end of a line0 码力 | 83 页 | 238.71 KB | 1 年前3 Google C++ Style Guideabbreviation. Give as descriptive a name as possible, within reason. Do not worry about saving horizontal space as it is far more important to make your code immediately understandable by a new reader namespaces, put each namespace on its own line. namespace foo { namespace bar { Horizontal Whitespace Use of horizontal whitespace depends on location. Never put trailing whitespace at the end of a line0 码力 | 83 页 | 238.71 KB | 1 年前3
共 2 条
- 1













