Re:Interview with Doug Crockford, creator of JSON
by eru on Tuesday March 23, 2010 @11:27AM
(#1213122)
When the only thing you have is XML, then S-Expressions are an enlightenment. JSON isn't nearly as moronic, so there's less pain to make you reach for S-Expressions. I guess JSON is good enough.
We use S-Expressions for logging in XenServer.
However, the other reason (the original reason peraps) is that we have some C processes that listen and interpret s-expressions. There were there before Python, so we already had an s-expression library for them. Then our Python processes had to talk to the C so I implemented Python object persistence on top of the existing s-expressions. Now we use it even between Python processes.
Well perhaps one day we'll just switch to json, yaml or protobufs. But we haven't decided which one yet.
I do find it interesting that nobody even mentions s-expression these day when there compare various persistence mechanism. I guess lisp and parantheses have stopped being cool?