Octave style guide: Difference between revisions

Jump to navigation Jump to search
m
Remove recommendation for fixed line length
m (Remove recommendation for fixed line length)
Line 11: Line 11:
=== Line Length ===
=== Line Length ===


Keep the length of source lines to 79 characters or less, for maximum
There is no fixed line length.  In general, strive for clarity and readability and use your own judgement.
readability in the widest range of environmentsThis is inherited from
 
the [https://www.gnu.org/prep/standards/standards.html#Formatting GNU Coding Standards].
Everyone has access to monitors with more than 80 columns, but even so, exceptionally long lines can be hard to readBut, keeping code together on one line that is logically one unit does improve readability.


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

edits

Navigation menu