Deutsch   English   Français   Italiano  
<vpnfmn$2ksdj$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c
Subject: Re: Which code style do you prefer the most?
Date: Wed, 26 Feb 2025 17:32:23 +0100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <vpnfmn$2ksdj$1@dont-email.me>
References: <vpkmq0$21php$1@dont-email.me> <vpl62m$250af$1@dont-email.me>
 <87frk10w51.fsf@onesoftnet.eu.org> <vpn8vs$2jmv1$1@dont-email.me>
 <vpn92i$86q$1@reader1.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 26 Feb 2025 17:32:23 +0100 (CET)
Injection-Info: dont-email.me; posting-host="215b4d371573711d49e34cbf56289f66";
	logging-data="2781619"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+oIgiULZ0HU72DiJc2xqO/97HN6DLQN2k="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:iz7L2BcXU4BI6W7EFstaa0wbji4=
In-Reply-To: <vpn92i$86q$1@reader1.panix.com>
Content-Language: en-GB
Bytes: 1666

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.