On Mon, 15 May 2000, Lee Daniel Crocker wrote: > I'm convinceable--I really am, but I'm making a big deal about it > because I've written a lot of notwork protocol code and I know what > makes it easy and what makes it complex. OK, I understand that you > want to put a "presentation" layer in between the data model and the > serialization method. If there's a benefit to that layer, give me > an example of its use--otherwise why not just eliminate it entirely?
It simply adds a layer of seperation in the code that I am fond of. And it does allow implementation of different presentations easily, which may well be good for example for implementing stealthy versions of FNP that look like HTTP or whatever. And while the testbed is not a big a deal, it certainly makes it easier if I can plug in a simple binary serialization as the presentation in it, so as to make it easier to hunt bugs in the message propogation. And the thing is, you keep saying that quoting the strings or any other way of typing the fields is so complex, but you have yet to say why this is so. Sure, if you quote strings you have to escape the quote char, but we currently have to escape newline somehow, so what is the big deal? And there have even been alternative suggestions, but a mark before numbers and booleans to mark they are values, or put one char which marks the type beofre the value, but you have rejected them all. > A simple protocol is a thing of beauty and power. Yes, but it is not a black art. If something is bad, then there is a reason why. Can you say under what circumstances having quoted strings makes the protocol less beautiful and less powerful? > -- > Lee Daniel Crocker <lee at piclab.com> <http://www.piclab.com/lee/> > "All inventions or works of authorship original to me, herein and past, > are placed irrevocably in the public domain, and may be used or modified > for any purpose, without permission, attribution, or notification."--LDC > > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- ___ Oskar Sandberg md98-osa at nada.kth.se _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
