[Q] Text vs Binary Files
From: Eric (egDfAusenetE5fz_at_verizon.net)
Date: 05/27/04
- Next message: Luther Baker: "Re: random access file with key-value pairs"
- Previous message: Luther Baker: "Re: random access file with key-value pairs"
- Next in thread: Arthur J. O'Dwyer: "Re: [Q] Text vs Binary Files"
- Reply: Arthur J. O'Dwyer: "Re: [Q] Text vs Binary Files"
- Reply: gswork: "Re: [Q] Text vs Binary Files"
- Reply: Dan Tex1: "Re: [Q] Text vs Binary Files"
- Reply: Darrell Grainger: "Re: [Q] Text vs Binary Files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 May 2004 01:23:11 GMT
Assume that disk space is not an issue
(the files will be small < 5k in general for the purpose of storing
preferences)
Assume that transportation to another OS may never occur.
Are there any solid reasons to prefer text files over binary files
files?
Some of the reasons I can think of are:
-- should transportation to another OS become useful or needed,
the text files would be far easier to work with
-- tolerant of basic data type size changes (enumerated types have been
known to change in size from one version of a compiler to the next)
-- if a file becomes corrupted, it would be easier to find and repair
the problem potentially avoiding the annoying case of just
throwing it out
I would like to begin using XML for the storage of application
preferences, but I need to convince others who are convinced that binary
files are the superior method that text files really are the way to go.
Thoughts? Comments?
- Next message: Luther Baker: "Re: random access file with key-value pairs"
- Previous message: Luther Baker: "Re: random access file with key-value pairs"
- Next in thread: Arthur J. O'Dwyer: "Re: [Q] Text vs Binary Files"
- Reply: Arthur J. O'Dwyer: "Re: [Q] Text vs Binary Files"
- Reply: gswork: "Re: [Q] Text vs Binary Files"
- Reply: Dan Tex1: "Re: [Q] Text vs Binary Files"
- Reply: Darrell Grainger: "Re: [Q] Text vs Binary Files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|