[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/4] libgettextpo: sort sources in the Makefile
From: |
Akim Demaille |
Subject: |
Re: [PATCH 1/4] libgettextpo: sort sources in the Makefile |
Date: |
Fri, 1 May 2020 16:02:41 +0200 |
Hi Bruno,
> Le 1 mai 2020 à 15:34, Bruno Haible <address@hidden> a écrit :
>
> 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".
I understand.
My own personal opinion is really that I don't want to have to think about
things not worth spending time on them, and ordering where it is useless
is one instance of that. Then alphabetical is the most natural, especially
if your names also group related things together.
But I agree that's only an opinion.
Cheers!