[Libreoffice] [PATCH] Cleaning and organizing of configure.in
hunteke at earlham.edu
Tue Oct 26 15:37:52 PDT 2010
At 6:18pm -0400 Tue, 26 Oct 2010, Christian Lohmaier wrote:
> I personally disagree that an alphabetically sortet list is best.
> e.g. now the font inclusion options wrt dejavu and liberation fonts
> are spread apart, build tool options are interspread the
> feature/code switches, extension-switches are mixed with core ones,
> I personally don't like that part of the patch.
And butting in to the conversation, may I offer a middle of the road
suggestion? I find alphabetizing very helpful, both as an end user and
as a developer. However, you do make an excellent point that related
options need to still be together. Solution: argument groups.
I don't actually know this environment, but if I may point you to
Python's Argument Parsing module for a moment, I claim that it has an
intuitive API for just this purpose:
Take note as well of argument groups (Section 188.8.131.52).
More information about the LibreOffice