[PATCH] io: Use gnulib fts implementation (BZ 22944, BZ 20331)
Paul Eggert
eggert@cs.ucla.edu
Mon Feb 23 21:22:40 GMT 2026
On 2026-02-23 07:02, Florian Weimer wrote:
> I think we generally follow the “fastest varying operand first” in the
> glibc sources (because that's what most programmers do anyway).
Gnulib often follows a different convention, where < and <= is preferred
more often than it is in glibc.
It's a style thing. Gnulibish style is common among many mathematicians
when expressing ranges, even one-sided ranges like "0 < ε". You'll see
it commonly in work by first-class contemporary mathematicians like Tim
Gowers or my colleague Terence Tao. More important, it's a good style in
programming. I learned it from the late D.V. Schorre, perhaps the best
programmer I ever met. Knuth credits Schorre with the invention of
goto-free programming in the early 1960s; he was *very* focused on
making programs clear.
We should not insist on Andreas's preferred style when importing code
from Gnulib, any more than we insist on Gnulib's preferred style when
importing code from Glibc.
More information about the Libc-alpha
mailing list