Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] --config-root command-line option
Date: Thu, 16 Nov 2006 23:44:57
Message-Id: 455CF7B4.3090205@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] --config-root command-line option by Marius Mauch
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Marius Mauch wrote:
5 > On Thu, 16 Nov 2006 09:33:05 -0800
6 > Zac Medico <zmedico@g.o> wrote:
7 >
8 >> Sure, that's one way to solve that particular problem. However, I feel
9 >> that command line options are more aesthetically appealing than environment
10 >> variables (maybe it's just me).
11 >>
12 >> Zac
13 >
14 > It's just you ;)
15 >
16 > Marius
17
18 Do you honestly prefer environment variables over command line options? I
19 prefer command line options because they are part of a clearly defined
20 interface. With environment variables, the interface may not be clearly
21 defined and it's easy for variables to accidentally leak in, affecting
22 internals in unexpected ways.
23
24 Zac
25 -----BEGIN PGP SIGNATURE-----
26 Version: GnuPG v1.4.5 (GNU/Linux)
27
28 iD8DBQFFXPey/ejvha5XGaMRAvjSAJ423GW15OqFPscOk5Sn2AoE1XfGtACgzNrb
29 AMCDoRVXqpSRn/fnIxTSN8A=
30 =CFbR
31 -----END PGP SIGNATURE-----
32 --
33 gentoo-portage-dev@g.o mailing list

Replies