top | item 24675941

(no title)

haxorito | 5 years ago

Is it just me or NestedText is kinda subset of YAML? I personally see very little advantage of using this over json or yaml, but having more flavors and variation is always a good thing.

Edit: forgot to mention. I personally don’t like most general data serialization formats for configuration, the one I can probably tolerate is XML, but even that I only use when it’s part of requirement. The way I usually implement program behavior configuration is through runcommands(runcom, .rc)

discuss

order

tgv|5 years ago

Very YAML. I checked the example, and the difference is that YAML places the > following the attribute name, and this format places it before the text.

BTW, I happen to like YAML as a configuration format. It's much more readable than JSON. It's not that suitable for serialization, and probably shouldn't be used to create huge config files, but for the rest, it's as good as it gets.