Deutsch   English   Français   Italiano  
<vpovd0$30d00$1@dont-email.me>

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

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: Which code style do you prefer the most?
Date: Thu, 27 Feb 2025 07:06:22 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <vpovd0$30d00$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> <vpodnf$2q6ak$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 27 Feb 2025 07:06:24 +0100 (CET)
Injection-Info: dont-email.me; posting-host="cc7703e6f4f499bb88d868989ae1b81e";
	logging-data="3159040"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/Fshlr4u+60TDBBU9SQ+H4"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:p12f72vBebyxTBQRZtgeUUPP7Ls=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <vpodnf$2q6ak$4@dont-email.me>
Bytes: 2197

On 27.02.2025 02:04, Lawrence D'Oliveiro wrote:
> On Wed, 26 Feb 2025 14:39:14 -0000 (UTC), Bradley K. Sherman wrote:
> 
>> Just do your best to keep it neat and under 80 columns.
> 
> Even back in the day, printers were capable of display 132 columns on a 
> line. And even the common VT100 and its rivals could manage that, too.
> 
> My current convention is to have maximum line lengths of about 100 
> columns. We have large screens now; why not take advantage of them?

I think it's (basically) okay.

Why not take advantage? - One reason is (as already hinted upthread;
"80, 120, 180, or 240"?) that if you have no sensible rule of thumb
it will lead to larger and larger values. (And we can observe that
effect!) Another reason (that I mentioned in a recent post) is that
you restrict your working quality [by not restricting line length]
(for details see that previous post).

Janis