Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (29 sloc) 1.45 KB
Root.Formatting.Length Parent Index
Sibling aspects Quotation Spacing


Hold sub-aspects for file and line length.



# We assume that the maximum number of characters per line is 10
# and that the maximum number of lines per files is 3.

def run(bear, file, filename, aspectlist):
    return, filename, aspectlist)


Too long lines of code and too large files result in code difficult to read, understand and maintain.

How to fix this

Length issues can be fixed by writing shorter lines of code (splitting long lines into multiple shorter lines); writing shorter files (splitting files into modules, writing shorter methods and classes.).