[glideplan_swproj] Re: Settings file format

  • From: Bohdan Maslowski <bohdan.maslowski@xxxxxxxxx>
  • To: glideplan_swproj@xxxxxxxxxxxxx
  • Date: Sat, 21 Jan 2012 20:08:02 +0100


I think xml is a better choice. Some arguments:

- no need to write a parser
- everyone knows the syntax
- easy validation

Users probably won't be editing the settings file directly anyway.

Also, there is a third choice: ini files. But still, xml is better in case
we need to save structured or binary data sometime.


On Sat, Jan 21, 2012 at 7:13 PM, Cestmir Houska <czestmyr@xxxxxxxxx> wrote:

> Hi everyone!
> I am about to start working on saving and loading the settings from a
> file. The question on everyone is now:
> Which file format would you prefer for settings? XML or our own format?
> This problem might seem unimportant, but starts to gain significance
> as soon as one wants to edit the settings via a text editor, which
> might sometimes be useful. I personally am for our own format, because
> XML can be often cumbersome and ugly.
> Cestmir
> To visit archive or unsubscribe, follow:
> http://www.freelists.org/list/glideplan_swproj

Other related posts: