Re: open an existing file in buffer and write on it



On Fri, Jan 25, 2013 at 11:00 AM, Liam R E Quin <liam holoweb net> wrote:

Please let's not encourage the use of binary file formats where there's
no measured performance requirement. An XML file would be better if
structure is needed, as then it can be interchanged with other tools and
platforms, and the fields are self-describing. Even JSON is better than
a binary file, although JSON is not so good for the document-oriented
text you often find in bibliographies, which I think was the original
purpose here? Not sure.


Those are good next steps, but are probably a little too much for someone
who doesn't know how to read or write to a file. Writing the equivalent
example using libxml2 would be way too much work. Besides, the GVariant
on-disk format is documented, doesn't take any more dependencies, blah blah
blah.



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