Hello,
I had posted to the list a few days back regarding a suite of modules I am
coding.
It is for manipulating various configuration files available on a Unix system. Right
now the
Nix suite has a Config module which stores default paths of the various configuration
files.
So if the constructor for the module for Bind8 is invoked without passing the config
pathname
as argument, it gets the default from the Config module. My question is this:
Is it right to include such configurable details in a low level library ?
Shouldn't it be
left to the calling code to handle such details.
Any advice is welcome. Sorry if this is not the right forum for such questions.
Regards
Karthik Krishnamurthy