-
Notifications
You must be signed in to change notification settings - Fork 34
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
Line limit to 120 #78
Comments
I can only hit 112, not 120. I think 100 would be best. |
I'll take anything, do others have thoughts? |
I think 120 is a little bit much. So I'd compromise to 100 |
i'd be a little bit interested in knowing what effect this has in terms of reducing line breaks. |
I'd propose increasing this line length to 120 !! |
If I recall correctly the original reason 92 was chosen was because it is the line length limit specified by the Julia contribution guide. |
The commit for this was made 7 years ago, maybe it's time to revisit? 😄 |
Just got brought up in the office again. I went through all the packages below and ran
|
I'm not a linguist or typographer, but 92 characters seems fine with a few assumptions by taking If you assume most people can keep 5-9 things in mind at a time, that indentation is some of those things, and if you really stretch it an assume that the length limit for remembering a word is between 5 and 9, then the upper limit on that is actually (9*9 + 8) = 89 I think 89 is short, especially considering that the 7 +- 2 rule is outdated (though 4 +- 1 is apparently more accurate) (https://en.wikipedia.org/wiki/Short-term_memory#Capacity), but it suggests that 92 characters is long enough |
@Wynand one of the most common things,
(a better measurement could be done with a parser rather than just looking at the top level) @mattBrzezinski can you show those diffs? it might be interesting as a sample of lines that are impacted by the current line length limit. |
I'm finding the
92
line limit very restrictive and forcing breaks more often than not. Between giving a function a meaningful parameter name and typing it you're more often than not breaking this line with a couple parameters.I'd propose increasing this line length to
120
, it allows you to reasonably read two files side-by-side in an editor. I think this is goes a bit hand in hand with #76 and I think makes things easier to read.Some Linus thoughts from a fixed 80 character limit.
The text was updated successfully, but these errors were encountered: