Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule idea: pinpoint functions with too many indentation levels #82

Closed
erszcz opened this issue Aug 8, 2014 · 1 comment
Closed

Rule idea: pinpoint functions with too many indentation levels #82

erszcz opened this issue Aug 8, 2014 · 1 comment

Comments

@erszcz
Copy link

erszcz commented Aug 8, 2014

Too deep indentation might signal that a function's logic is too complex. Even if it's not the case, too deeply indented code is hard to read and makes the programmer cramp the code on the far right side of the screen, especially when also using the max-80-chars-per-line rule. This is a real-world example of code cramped on the far right with a really exaggerated case here.

@elbrujohalcon
Copy link
Member

Duplicate from #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants