[style-guide] Discussion: should it be about max line length or rather line length from first character and number of indent levels? #692
smoothdeveloper
started this conversation in
Polls
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to figure out if the concept of max line length is as relevant as the length from the first non-whitespace character and number of indents within a particular construct (type, module or namespace).
I understand max line length is one thing on its own, and some people have their specific numbers (80 being one); but at the same time, when I indent code one level farther, I most likely prefer the formatting to remain, and only consider rejigging the code by splitting it on several lines when it is about length of the expression from first non-whitespace character, disregarding the max line length.
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions