X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: karl AT aspodata DOT se To: geda-user AT delorie DOT com Subject: Re: [geda-user] A fileformat library In-reply-to: References: <1512221837 DOT AA25291 AT ivan DOT Harhan DOT ORG> <20151222232230 DOT 12633 DOT qmail AT stuge DOT se> <0F6F1D0F-4F07-48EA-90FE-836EAD4E2354 AT noqsi DOT com> <0FCF3774-F93C-4BFF-BB61-636F75DCCACB AT noqsi DOT com> Comments: In-reply-to "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" message dated "Mon, 04 Jan 2016 10:59:59 -0900." Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20160105182120.3237F809D79B@turkos.aspodata.se> Date: Tue, 5 Jan 2016 19:21:20 +0100 (CET) X-Virus-Scanned: ClamAV using ClamSMTP Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Britton Kerin: > On Sun, Jan 3, 2016 at 6:25 PM, John Doty wrote: ... > > Although these are good measures, once you adopt them you may start asking > > yourself why you aren't just using a binary format. The argument for text > > is that you can glance at a chunk of it and easily tell what's going on. > > A stronger argument for text is that you can process it with text-oriented > > tools. > But ultimately the reason for wanting to use those text-oriented tools is > the same: you can see what you're working on with your own eyes. In every > other respect binary is better. I counter that. . you have to check a binary file for valid values just as you do for a text file . if your binary file is in some way invalid, you will have a greater problem correcting it than a text file . discussing why a file is invalid is easier with a text file . a binary file might be smaller, but that does not matter much . text files are better provided for by version systems (e.g. git) . it is easier to write tools that write text than binary, because debugging the output is easier /// Also, there is no reason to change a file format unless you change the functionality it provides, I have to "side heavily" with John on this. If you want to change the file format, you first have to provide some goodies that will make people to accept it. And no such "goodie" thing has appeared. You might write a library that reads and writes the files and if people find it useful, they will start using it, else, it will be just your own project. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57