On 2/13/2013 3:06 AM, Leandro Lucarella wrote:
Please, don't use json for configuration files, is a format intended for
machines, not humans (OK, is better than XML but still horrible for
humans).

Json is simply a subset of javascript, which was intended for humans.


If you need a standard and flexible file format that is almost as good
for humans and machines, maybe you want to consider YAML.

Environment:
   override:
     name: value
     baz: foo
   default:
     foo: bar

But I still think a configuration file shouldn't be as complex as YAML.

Configuration files grow ever more complex, and it'd be nice to have a format that doesn't need constant redesign.

_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to