| Deutsch English Français Italiano |
|
<87wmdbcr2e.fsf@onesoftnet.eu.org> 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: Ar Rakin <rakinar2@onesoftnet.eu.org> Newsgroups: comp.lang.c Subject: Re: Which code style do you prefer the most? Date: Thu, 27 Feb 2025 22:04:09 +0600 Organization: OSN Developers Lines: 19 Message-ID: <87wmdbcr2e.fsf@onesoftnet.eu.org> 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> <vpnfmn$2ksdj$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Thu, 27 Feb 2025 17:04:10 +0100 (CET) Injection-Info: dont-email.me; posting-host="c3cc10b9b7308b1f47db985a421ccf9c"; logging-data="3344208"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189d7bZcoNG+wpHeVaFs2jYb/j0mrv+u/c=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:v6Iaj8MtYvFGxOM8iJ/5WwThx4M= sha1:uU8Z+f83qPyCCH9pTDrKPnhIDzo= Bytes: 1856 David Brown <david.brown@hesbynett.no> writes: > 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. Agreed. Unfortunately, most GNU projects still require you to not exceed 80 columns per line, in the code. It is a bit too hard limit. -- Ar Rakin