Sujet : Re: Which code style do you prefer the most?
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 02. Mar 2025, 15:53:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vq1rcr$qovu$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 02.03.2025 15:20, Michael S wrote:
On Sun, 02 Mar 2025 06:00:13 -0800
Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>
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.
I know him and his reputation but nonetheless don't like that
formatting style. - But thanks for letting us know the source.
In his younger years he was rather well-regarded SF author.
(Never heard of his SF writings. But there's so many SF authors
and yet more different SF styles, and preferences vary anyway.)
In his more advanced years specialized on supplying STL to C++ compiler
vendors.
I sort of know him from (I think) a C++ standard library book;
I thought it was earlier in the 90's but it was maybe this one:
"The Draft Standard C++ Library" (1995). - I don't think that
above mentioned formatting style was advertised in this book.
(But I've only faint memories here.)
Janis