News for hackers. Stuff that matters.
Re:Erik Naggum on Attributes in SGML, XML, Lisp (2001) by lisper on Friday May 15, 2015 @11:48PM (#9554985)
Yes. But the two structures at issue are:

((foo baz bar) bing)

and

(foo (baz bar) bing)

The only difference is in the location of a single paren. But latter representation (Erik's) loses information whereas the former does not. All else being equal, and absent a compelling argument why the lost information has no value, it is better not to lose information.

Re:Erik Naggum on Attributes in SGML, XML, Lisp (2001) by brandonbloom on Saturday May 16, 2015 @01:00AM (#9555104)
1) There's no information to be lost. He's not talking about encoding XML, he's talking about general design criteria for a cleanroom markup language design. I don't understand why this point is hard to get.

2) The idea that it's "better not to lose information" is totally nonsensical because the value of information is contextual. For example, the ascii encoding of this message useful omits the subtleties of my awful handwriting, although you're right: it would be better to preserve the information present in the deep pencil strokes, indicating my frustrating with this thread.

Re:Erik Naggum on Attributes in SGML, XML, Lisp (2001) by lisper on Saturday May 16, 2015 @01:51AM (#9555188)
> He's not talking about encoding XML

Yes he is:

"I have come to _loathe_ the half-assed hybrid that some XML-in-Lisp tools use and produce"

> The idea that it's "better not to lose information" is totally nonsensical

You are knocking down a straw man. I didn't say that is it better not to lose information, full stop. I said "All else being equal, and absent a compelling argument why the lost information has no value" it is better not to lose information. In the case of your handwriting, all else is not equal.