Ben Wheeler wrote: > On Mon, Jan 26, 2009 at 08:12:53PM -0500, Nick Guenther wrote: >> Official Suggestion Time: instead of continuing to fight with XML, why >> don't we just switch to: http://www.hyperrealm.com/libconfig/ > > Sorry but I think that config file format is utterly hideous! It's like > some bastard offspring of an unholy union between plaintext config files > and C syntax, taking the worst aspects of both. You have to be a programmer > to understand the syntax and edit it without breaking it, which somewhat > defeats the point of having a plain config file rather than just > serializing data structures as `eval'able code (something that's quite > in vogue in the Perl world, and I regard as Pure Evil.)
Actually, I think YAML is more popular in the Perl world these days. At least, I know I use it almost exclusively. It might not be a bad idea here either. http://www.yaml.org/start.html http://yaml.org/spec/1.2/#id2562276 For a simple list of config items, its about as easy to read/edit as an .ini file would be. More complex data structures are also possible, and they look a heck of a lot nicer than XML does (in my opinion). Mark ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
