On 17 June 2010 20:16, Graeme Geldenhuys <[email protected]> wrote: > On 17/06/2010, waldo kitty wrote: >> >> besides, XML is a good example as well since everyone and their mother seem >> to see it as a huge step forward for some reason... > > I can't agree more on this point. Yes, XML has it's uses, but > replacing a INI file with a XML file simply to store some application > settings like "recently opened files", or editor color settings etc is > pretty ridiculous. And yes, Lazarus IDE is a culprit in this too. I > mean, INI is a dead simple file format which FPC and Delphi (and just > about any other language) has very good support for reading/writing > INI files. So why use XML which is much more complex and much harder > to work with. Again Lazarus IDE being an example here. There are > multiple XML reading/writing solutions (inside FCL and LCL and IDE), > all with varying degrees of features and how to use them.
I agree completely that storing an application's settings in human readable format is the best. It's obviously limited in terms of speed, though. Using a database for this is overkill. Henry -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
