Re: [extremeprogramming] About placing configuration defaults

"David Allsopp via Groups.Io" <[email protected]> Thu, 21 Nov 2019 23:31:16 +0000 (UTC)
Newsgroups gmane.comp.programming.extreme-programming
Message-ID <[email protected]>
 
On Thursday, 21 November 2019, 07:13:48 GMT, Slava Imeshev via Groups.Io <[email protected]> wrote:

> Just a thought, what prevents us from having ‘configure-nothing’ systems? Or, if it existed, how would it behave differently if such an approach existed?

Well, that's potentially a huge topic because it depends on a lot of context.
Why do we need configuration? Some random thoughts:
- because different users want to use the same code in different ways on different hardware at different times- because of switching back and forth between different modes of operation, without having to manually change dozens of settings- because the context (OS etc) doesn't contain the user-specific information the application needs (e.g. git needs your name and email address)  - and even if it does, you might want to change it for an individual application- because we run the same code in different environments (and the code cannot necessarily inspect the environment and/or deduce the desired way to run there)  - e.g. running the same data processing code on a 100-node shared cluster rather than a 10-node single-user cluster.     How many nodes and how much memory should a given job use? That depends on a lot of information...- because there are external dependencies that cannot (possibly by design) be known by the visible environment (except by some other form of configuration)- because security credentials can't be safely built into the code (and may expire, too)
and so on.
But I do agree it's useful exercise to consider each configuration entry and think hard about whether it could be eliminated...
David



  

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#160292): https://groups.io/g/extremeprogramming/message/160292
Mute This Topic: https://groups.io/mt/60557252/2417047
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/extremeprogramming/leave/4902963/619838065/xyzzy  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-