News for hackers. Stuff that matters.
Re:XML is almost always misused by rauhl on Tuesday October 29, 2019 @09:09PM (#21393724)
What do you mean by names here? S-expressions have symbols, which serve the exact same purpose as what I think you might mean: an interned string value which can be cheaply used more than once.
Re:XML is almost always misused by thom on Wednesday October 30, 2019 @02:21PM (#21400819)
Positions within lists aren't named. Sure you can do:

((foo . (bar . baz)) (foo . (bar . baz)) (foo . (bar . baz)) (foo . (bar . baz)))

And say "index all the foos", but you're mixing the structure and the content, in a way that JSON and XML explicitly separate.

Re:XML is almost always misused by thom on Wednesday October 30, 2019 @02:28PM (#21400901)
Not saying you can't specify some schema here, but there's nothing native to S-expressions that makes it quite as transparent and simple to specify a path into a data structure.