Best way to store config or preferences in a multi-platform way.

Torsten Bronger bronger at physik.rwth-aachen.de
Thu May 1 19:21:38 EDT 2008


Hallöchen!

Ivan Illarionov writes:

> [...]
>
> For me it looks more like an old-school/new-school thing than
> use-case thing. I may be wrong, but I see more and more new
> projects use things like reST and YAML/JSON and it feels like they
> are gradually replacing traditional old-school solutions.
>
> And I've got very strong impression that YAML is a the future of
> configuration files when Google released their App Engine.

In contrast to many other areas of software, configuration files
needn't be compatible with anything except the user's brain.  So
even if the rest of the world uses config format X, you can safely
stick with config format Y.

I mean, YAML is not really a complex thing, yet it was conceived not
before 2001.  The reason is that traditional config files do a good
job.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                                      Jabber ID: bronger at jabber.org
               (See http://ime.webhop.org for further contact info.)



More information about the Python-list mailing list