firearm-halter | 4 years ago | on: YAML: It's Time to Move On
firearm-halter's comments
firearm-halter | 4 years ago | on: YAML: It's Time to Move On
I think NestedText is unique in leaving all leaf values as strings, so it does not need quoting or escaping.
Everything involves a compromise. YAML provides a lack of clutter at the cost of ambiguity. JSON is unambiguous, but comes with visual clutter. In both cases there are still lots of types they cannot handle and so must be passed on to the application.
The compromise with NestedText is that it provides simplicity and a lack of clutter by not supporting any data types for leaf values other than string. Thus, all interpretation of the text is deferred to the application. But fundamentally that is the best place for it, because only the application understands the context and knows what is expected.
firearm-halter | 4 years ago | on: YAML: It's Time to Move On
Its all in the name. All leaf values are strings. It is literally nested text.
firearm-halter | 4 years ago | on: YAML: It's Time to Move On