Boost logo

Boost :

Subject: Re: [boost] Environment Variables Library?
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2015-05-19 21:55:08

On Tue, May 19, 2015 at 7:01 PM, Gavin Lambert <gavinl_at_[hidden]>

> On 19/05/2015 18:38, Andrey Semashev wrote:
>> On Tue, May 19, 2015 at 2:27 AM, Gavin Lambert wrote:
>>> They're more popular in POSIX; but at least on Windows, environment
>>> variables are considered old-fashioned and discouraged from use without
>>> significant compelling reason.
>> Is there a reference for such a discouragement? Sure, most
>> Windows-only programs just use registry but I wouldn't say environment
>> variables are discouraged from being used. For instance, most
>> development software, including MSVC, use environment for
>> configuration, and registry is not seen as a replacement.
> There's a distinction between command line and GUI tools. Environment
> variables are more likely to be used by command line tools, as they tend to
> be more script-friendly.

Although it is common for GUI applications written in Java to use the
environment for setup and startup, IIRC.

-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams -
-- rrivera/ (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost list run by bdawes at, gregod at, cpdaniel at, john at