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

Re: gEDA-user: Functional blocks and PCB format changes



At 11:40 AM 9/13/2010, you wrote:
On Mon, Sep 13, 2010 at 11:26:28AM -0400, Joshua Boyd wrote:
> On Fri, Sep 03, 2010 at 09:08:25PM -0700, Andrew Poelstra wrote:
> > XML is far too heavy, agreed, and it's signal-to-noise ratio is abysmal.
> > I think that using a Lisp (or Lispy-looking) format would be extensible,
> > easy to parse, and make the most people happy.
>
> Allow me to toss out JSON.  It is about as light weight as using S-EXP,
> but politically it isn't tied down by references to Lisp.  Plus, since
> it has become fairly popular, there are good readers/writers for most
> languages.
>
> The format is defined at: http://www.json.org/
>
> Basically you are allowed strings, numbers, arrays, and "object", which
> would be called a map, an associative array, a dictionary, or something
> else along those lines anywhere else.
>

The problem I have with JSON (and to some extent, Lisp) is that it is
not self-documenting. You can't open a JSON document and immediately
see what everything is and what it does; it just looks like gibberish
and brackets.

Also, it doesn't require a consistent newline scheme.


Yes, if you have the file format provide adequate context information for humans to read, then you are adding weight and the file becomes heavy. I find that I can actually lift many gigabytes very easily, but some others seem to have more concern about this. I suppose all the kayaking I do gives me extra upper body strength. :)

There ain't no free lunch. Either the file format is easily read by humans or it is minimal in size. You can't have both. I have never heard my computer complain about files being too heavy for it. I will say that I have to use the shoulder strap when I lug it into Panera Bread, but I always thought that was because I put so many papers in the bag with it. Maybe it's the files.

Rick



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user