5 ms·
Perhaps you'd be interested in RubyDNS... also, what is so good about space, compared to YAML, JSON, XML, and many other existing coding standards?
by ioquatix 13y ago
Perhaps you'd be interested in RubyDNS... also, what is so good about space, compared to YAML, JSON, XML, and many other existing coding standards?
- breck 13y agoGreat question. Space is just doubling down on the good parts of XML, JSON, and YAML; while stripping out anything that isn't absolutely necessary. It turns out, almost every feature in those encodings is unnecessary. Space is a total accidental discovery. We were just using a few ways to store objects (JSON, HAML, some others). We kept having to simplify the rules because we needed formats that worked with a variety of languages and eventually we had a very simple YAML like language. But even that was too complicated to support across languages, and so we kept cutting features and rules. Pretty soon we were down to no punctation. Just the space character and newline character to give structure to your objects. I was very surprised to discover that this was all you needed no matter what domain you were working in.