Re: init: API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BTW in my experience the problem with flat-files is they are
under-specified (lots of text file examples given on this thread are
"loose" syntax which a human will grok but an application won't).

So as long as you have a single app parsing the file all's well, because
the quirks of its built-in parser pretty much define the syntax (and a
custom parser *always* got quirks). But put a second app in the system
(for example a GUI frontend to manipulate the files, written in another
language so it can not share the parser lib) and all Hell breaks lose,
because the gui writer and the cli writer can not agree on the exact
syntax to use.

The *big* advantage of XML files is they have strong syntax rules, in
fact files can be checked using third-party tools like xmllint, so there
is a lot less room for applications bickering about the same file.

-- 
Nicolas Mailhot

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux