[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/4] libgettextpo: sort sources in the Makefile
From: |
Bruno Haible |
Subject: |
Re: [PATCH 1/4] libgettextpo: sort sources in the Makefile |
Date: |
Fri, 01 May 2020 15:34:51 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
Hi Akim,
> sort sources in the Makefile
I don't take this patch.
Alphabetical sorting is the order one uses when there is really no better
sort order. (Someone who has 3 children, do they enumerate their children
by alphabetical order of the first name? Surely not. Most will enumerate
them by decreasing age.)
For lists of source files, several sort orders are available:
- topic / semantics,
- topological sort: simplest first, most top-level last,
- historical: by date of file creation.
I prefer the first one, according to the principle "put things close
together than are semantically related".
Bruno