groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: manual section titles (was: All caps .TH page title)


From: Alejandro Colomar (man-pages)
Subject: Re: manual section titles (was: All caps .TH page title)
Date: Sun, 24 Jul 2022 14:02:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

Hi Branden,

On 7/23/22 21:30, G. Branden Robinson wrote:
If I were to rewrite the C library and kernel from scratch, without
backwards compatibility, I'd fix many many things.  But that train
passed many years before I was born.

Lightning will not strike in the same way again.  But we are engineers.
We should not give in to despair.  The rewards will be great if we can
replace C with a better language, or Linux (or *BSD) with a better
kernel.  And if we can't do those things, we could still see some
substantial payoffs if we rewrite the C stdio and string libraries.
Korn and Vo pretty much did the former, and knowledge about how to do
the latter is getting better socialized, where it's more a matter of
consistently using improved functions of more recent vintage, and not
thoughtlessly recapitulating bad examples from days of yore.

The only thing worse than being Schlemiel the Painter is copying his
approach blindly.

The thing is, half a century after the invention of Unix and C, I think there's still no better language than C. C is imperfect, but it's still better than the competition, IMO. My aim is to improve C through ISO C revisions; for that, I suggest some ideas from time to time to people involved in the standardization process (mostly, GCC/glibc programmers).

More or less, the same happens with GNU/Linux/Unix: they're imperfect, but GNU/Linux is still my favourite system, and I'd probably make many more mistakes than those systems have, were I to implement a new OS from scratch. So I'll try to improve the system in what it can be improved.



For one example, we have stat(2) and stat(3type).  Why did they
exploit the fact that C allows calling a function and a struct the
same?

C'mon, you know the answer already.  It was less typing.  :-|

One of the best lessons we can teach programmers of the post-Unix
generations is that you do not have to Huffman code everything at the
first opportunity, especially in a casual, ad hoc manner.

Heh.

Cheers,

Alex

--
Alejandro Colomar
Linux man-pages comaintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]