mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix typos (#2158)
This commit is contained in:
parent
0f1e36cf06
commit
0e5b13b543
|
@ -21621,7 +21621,7 @@ The use of `p` for pointer and `x` for a floating-point variable is conventional
|
||||||
|
|
||||||
### <a name="Rl-name"></a>NL.8: Use a consistent naming style
|
### <a name="Rl-name"></a>NL.8: Use a consistent naming style
|
||||||
|
|
||||||
**Rationale**: Consistence in naming and naming style increases readability.
|
**Rationale**: Consistency in naming and naming style increases readability.
|
||||||
|
|
||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
|
@ -22032,7 +22032,7 @@ Consistency in large code bases.
|
||||||
|
|
||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
We are well aware that you could claim the "bad" examples more logical than the ones marked "OK",
|
We are well aware that you could claim the "bad" examples are more logical than the ones marked "OK",
|
||||||
but they also confuse more people, especially novices relying on teaching material using the far more common, conventional OK style.
|
but they also confuse more people, especially novices relying on teaching material using the far more common, conventional OK style.
|
||||||
|
|
||||||
As ever, remember that the aim of these naming and layout rules is consistency and that aesthetics vary immensely.
|
As ever, remember that the aim of these naming and layout rules is consistency and that aesthetics vary immensely.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user