[dmd-beta] D 2.062 beta
Walter Bright
walter at digitalmars.com
Wed Feb 13 11:37:36 PST 2013
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.
More information about the dmd-beta
mailing list