| Deutsch English Français Italiano |
|
<20250302162007.0000723c@yahoo.com> 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: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: Which code style do you prefer the most?
Date: Sun, 2 Mar 2025 16:20:07 +0200
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <20250302162007.0000723c@yahoo.com>
References: <vpkmq0$21php$1@dont-email.me>
<vpl2k4$24fmt$1@dont-email.me>
<20250225104754.267@kylheku.com>
<zWovP.1403558$21T3.838698@fx18.iad>
<vplf5d$26v09$1@dont-email.me>
<874j0g2a8u.fsf@onesoftnet.eu.org>
<vpn3l8$2ipsc$1@dont-email.me>
<86h64bwn0y.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 02 Mar 2025 15:20:09 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a73bf216c72226419909034518c4c4fa";
logging-data="3311692"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yFdlLNcMz2daG2JRA7r0z1GxlkpbZBLM="
Cancel-Lock: sha1:zUz7PYp51WRVH/QnUgnSt46PR/I=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
Bytes: 2646
On Sun, 02 Mar 2025 06:00:13 -0800
Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>
> > On 26.02.2025 12:53, Ar Rakin wrote:
> >
> >> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
> >>
> >>> Re "goofy style"; I've seen someone preferring
> >>>
> >>> while (q(a,b))
> >>> {
> >>> a=b;
> >>> f(x);
> >>> if (c>d)
> >>> {
> >>> g(y);
> >>> }
> >>> }
> >>>
> >>> To each his own.
> >>
> >> That looks like a nightmare for the code reviewers.
> >
> > I cannot tell where that comes from; the person who uses it is an
> > experienced Perl programmer - may that be some convention in that
> > specific language context? (I can't tell.)
>
> It's called Whitesmith (Whitesmiths?) style. It is (or was?)
> used in PJ Plauger's company, who IIANM among other things wrote
> one of the first C compilers done outside of Bell Labs.
>
> For those who don't recognize the name, PJ Plauger was involved
> in C standardization efforts from an early date, and was a member
> of WG14 for more than 20 years even after the first C standard
> was published.
In his younger years he was rather well-regarded SF author.
In his more advanced years specialized on supplying STL to C++ compiler
vendors.
I wonder what he is doing after entering 9th decade.