mirror of
https://github.com/cpp-best-practices/cppbestpractices.git
synced 2025-12-17 03:04:36 +03:00
Inserted reasonable line length and gave reasons.
Gave some reasons behind the guideline to use a reasonable line length.
This commit is contained in:
@@ -160,6 +160,10 @@ if (x && y && myFunctionThatReturnsBool()
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Many projects and coding standards have a soft guideline that one should try to use less than about 80 or 100 characters per line.
|
||||||
|
Such code is generally easier to read.
|
||||||
|
It also makes it possible to have two separate file next to each other on one screen without having a tiny font.
|
||||||
|
|
||||||
|
|
||||||
## Use "" For Including Local Files
|
## Use "" For Including Local Files
|
||||||
... `<>` is [reserved for system includes](http://blog2.emptycrate.com/content/when-use-include-verses-include).
|
... `<>` is [reserved for system includes](http://blog2.emptycrate.com/content/when-use-include-verses-include).
|
||||||
|
|||||||
Reference in New Issue
Block a user