Sujet : Re: Which code style do you prefer the most?
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.lang.cDate : 26. Feb 2025, 17:32:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vpnfmn$2ksdj$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 26/02/2025 15:39, Bradley K. Sherman wrote:
Just 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.