C++ style guide: Difference between revisions

Jump to navigation Jump to search
272 bytes added ,  20 December 2023
m
(Add separator recommendation between member functions and variables.)
Line 10: Line 10:
=== Line Length ===
=== Line Length ===


Maximal length of source lines is 79 characters.
There is no fixed line length.  In general, strive for clarity and readability and use your own judgement.
 
Everyone has access to monitors with more than 80 columns, but even so, exceptionally long lines can be hard to read.  However, keeping code together on a line that is logically one unit does improve readability.


=== Indentation ===
=== Indentation ===
1,072

edits

Navigation menu