Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.88 KB

File metadata and controls

52 lines (34 loc) · 1.88 KB
Root.Formatting.Length.LineLength Parent Index
Sibling aspects FileLength

LineLength

Number of characters found in a line of code.

Tastes

Taste Meaning Values
max_line_length Maximum number of character for a line. 80, 79, 100, 120, 160

* bold denotes default value

Subaspects

This aspect does not have any sub aspects.

Example

print('The length of this line is 38')

Importance

Too long lines make code very difficult to read and maintain.

How to fix this

Splitting long lines of code into multiple shorter lines whenever possible. Avoiding the usage of in-line language specific constructs whenever they result in too long lines.