3 ms·
I feel that having longer lines means you can scan through a program more easily, by quickly scrolling through it vertically. Then once you're at the part you'r
by laurent123456 5y ago
I feel that having longer lines means you can scan through a program more easily, by quickly scrolling through it vertically. Then once you're at the part you're looking for you can start scanning the text horizontally for more details.
- layer8 5y agoThe problem is if you have to scroll horizontally. Either you have to size your terminal or editor window very wide, wasting space that could be better used for other components (project tree, debugging views, other inspector views, documentation, …), or you can’t see the complete line at once. IMO the maximum line length shouldn’t be much more than twice(-ish) the median line length (not counting empty and brace-only lines).