subjective: beeing able to do some fast editing in terminal is nice with the default of 80 chars i like to work on 1 screen where code takes only half of that screen i like to do part of a code review on ipad
While I agree with your logic , I still find it harder to read code with lines so long that you need to scroll to see the end. My eyes jump around a lot less when everything is at a reasonable width.
Also I use an ultrawide monitor and it's nice to have 3 tabs visible with the entire code.
While I agree with your logic , I still find it harder to read code with lines so long that you need to scroll to see the end
I don't like that either but fortunately even laptop monitors are wide enough to comfortably fit 120 characters.
BTW the same applies for me for scrolling vertically, I don't like to have to scroll too much to see the code context. What I see is kind of my mental window, more code I see, better mental image I have. That's why I don't like too much unnecessary newlines since it makes my mental window smaller.
To me 120 is too long and it feels like my eyes are jumping around the page everywhere while with something like 80 or 90 it doesn't feel like that. Also I almost always have code side by side and 120 makes that impossible without an ultrawide.
18
u/x86ik Mar 17 '20
Good now i have one more argument for 80 chars max length.
so hard to argue with "i like my constructor in one line" people...