4 ms·
No, all source code lines should be max 80 columns wide, always. That way, you can put a well-defined number of editor panes next to each other on the screen (3
by goerz 9y ago
No, all source code lines should be max 80 columns wide, always. That way, you can put a well-defined number of editor panes next to each other on the screen (3 columns on a 16:9, 2 columns on a 4:3). You're also able to print out snippets of source code on paper at 10pt font size.
- rhn_mk1 9y ago...or 1.5 panes on a different 16:9, or 0.7 panes on a phone screen. 80 character limit sounds like it makes sense for order, but depending on size & eyesight, a lot of the screen may end up wasted. Personally, I hate nothing more than seeing lines wrapped like this when reading emails wrapped to 80 characters per line. This wastes vertical space, making the problem even worse.