Hacker News new | ask | show | jobs
by thrown_22 1410 days ago
Every lisp program supports that serialization format out of the box.
1 comments

No, every lisp program supports its own idiosyncratic variation on it, no two alike.
Yes, just how no two json implementations support the same schema.
Independent JSON implementations can parse and manipulate the same files, since they agree on what the basic datatypes are. S-expression implementations don't; often they don't even agree on what the quoting convention is.
>since they agree on what the basic datatypes are

That is not the job of the data format, that is the job of the meta data format. That this is still a draft tells you how far behind json is: https://json-schema.org/draft/2020-12/json-schema-core.html

Again, json is gods way of teaching bad devs why xml is such a mess.

> That is not the job of the data format, that is the job of the meta data format.

In theory maybe. In practice it's really nice that all JSON documents have the same standard handful of basic datatypes (number, string, etc.).

> Again, json is gods way of teaching bad devs why xml is such a mess.

Maybe that's the lesson bad devs take from it. Good devs take something rather different from it.

>In theory maybe. In practice it's really nice that all JSON documents have the same standard handful of basic datatypes (number, string, etc.).

You missed boolean. That's it. Those are the supported types by json. But tell me more about how you can guess the type of 1515151515151 without context.

>Maybe that's the lesson bad devs take from it. Good devs take something rather different from it.

Thank you, people like you are the reason why I can quit my job and any time and find another one paying mid six figures to fix your messes.