Liste des Groupes | Revenir à cl c |
David Brown <david.brown@hesbynett.no> writes:I also work with multiple files on-screen at the same time, split in various ways. I also work with ssh and remote files, and use command-line editors on occasion.On 26/02/2025 15:39, Bradley K. Sherman wrote:I tend to prefer the 80 column constraint. I use vim withJust do your best to keep it neat and under 80 columns.>
>
Neat, yes. 80 columns, no - unless you are living in the previous century.
>
Lines that are too long are hard to read, but the idea that 80 columns
is a good number or should be a hard limit is /long/ outdated. About
100 - 120 columns is a better fit for a lot of code, letting you use
sensible identifiers without excessively splitting logical lines into
multiple physical lines.
both horizontal and vertical splits to work on a codebase with
several hundred source files; 80-column lines are much easier
to read in that environment, where each split may only be 80 columns wide
with two or three vertical splits available on a wide (16x9) screen.
Makes it easly to move between files/splits using the keyboard, especially
useful over ssh.
Les messages affichés proviennent d'usenet.