On 04/28/2010 10:39 AM, Michael Torrie wrote:
> On 04/28/2010 10:20 AM, Stephen M. McQuay wrote:
>    
>> My question is this: what is the best configuration file syntax?
>>      
> As for markup languages, I say avoid them.  They are unnecessary.  A
> structured INI file is more readable, maintainable, and can express
> everything you'd want in a config file.  I would also avoid json.
>    

+1 for ini files. If your configuration is so complex that it can't be 
expressed in ini format, then your configuration has a problem, and you 
are probably over-burdening your users. Ini is definitely the best way 
to go for easy setup.

I would even advocate using a format even simpler than ini by not using 
section headers.

--Dave
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to