No subject
Thu Feb 11 18:09:36 PST 2010
Found this gem in a C++ comment while digging in the SpiderMonkey
codebase<http://mxr.mozilla.org/mozilla-central/source/js/src/jsscan.cpp#1464>
:
After much testing, it's clear that Postel's advice to protocol designers
("be liberal in what you accept, and conservative in what you send") invites
a natural-law repercussion for JS as "protocol":
"If you are liberal in what you accept, others will utterly fail to be
conservative in what they send."
The comment is unsigned, but it sounds like Brendan.
--
Cheers,
--MarkM
--00163630ed4924c73e0489b40907
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Tue, Jun 22, 2010 at 8:17 PM, Dean Landolt <span dir=3D"ltr"><<a href=
=3D"mailto:dean at deanlandolt.com">dean at deanlandolt.com</a>></span> wrote:=
<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class=3D"gmail_quote"><div>I know many of us in the ES community tend =
to prefer a Postel's Law approach -- and=A0as long as tabs are always p=
roperly stringified it's not a huge interop problem. Still, an argument=
could be made that with browsers accepting known-bad input (per the JSON s=
pec) it could=A0encourage=A0fragmentation (albeit it minor) of the one form=
at that's really delivered on the promise of true interoperability.</di=
v>
</div></blockquote><div><br></div><div>Yes. On the web, as the sorry histor=
y of browsers shows too clearly, Eich's law may be the more relevant on=
e:</div><div><br></div><div>From Dave Herman's blog at <<a href=3D"h=
ttp://calculist.blogspot.com/2010/02/eichs-law.html">http://calculist.blogs=
pot.com/2010/02/eichs-law.html</a>>:</div>
<div><br></div></div><blockquote class=3D"webkit-indent-blockquote" style=
=3D"margin: 0 0 0 40px; border: none; padding: 0px;"><div class=3D"gmail_qu=
ote">Found this gem in a C++ comment while <a href=3D"http://mxr.mozilla.or=
g/mozilla-central/source/js/src/jsscan.cpp#1464">digging
in the SpiderMonkey codebase</a>:</div><div class=3D"gmail_quote"><blockqu=
ote>After much testing,=20
it's clear that Postel's advice to protocol designers ("be lib=
eral in=20
what you accept, and conservative in what you send") invites a=20
natural-law repercussion for JS as "protocol":</blockquote></div>=
<div class=3D"gmail_quote"><blockquote>"If you are=20
liberal in what you accept, others will utterly fail to be conservative=20
in what they send."</blockquote></div><div class=3D"gmail_quote"><div>=
The comment is unsigned, but it sounds=20
like Brendan.=A0</div></div></blockquote><br clear=3D"all"><br>-- <br>=A0 =
=A0 Cheers,<br>=A0 =A0 --MarkM<br>
--00163630ed4924c73e0489b40907--
More information about the es-discuss
mailing list