3 ms·
> With NestedText any decisions about how to interpret the leaf values are passed to the end application, which is the only place where they can be made knowled
by jarym 6y ago
> With NestedText any decisions about how to interpret the leaf values are passed to the end application, which is the only place where they can be made knowledgeably. The assumption is that the end application knows that Enrolled should be a Boolean and knows how to convert ‘NO’ to False.
That assumption is... not applicable to most scenarios I come across and will likely lead to issues being pushed downstream and introduction of subtle bugs and defects.
- liversage 6y agoThe special interpretation of NO in YAML has led to bugs and defects: > I once disabled our product for the entire country of Norway for a day because `NO` in YAML evaluates to `false` https://twitter.com/aarondjents/status/1307692593493553160 https://twitter.com/aarondjents/status/1307692593493553160
- pas 6y agoIt'll lead to incompatible NestedText codecs/serdes :( There should be at least some support for some standardized representations (basically JSON + ISO8601 datetime + some encoding for embedding whatever stringified serialization, eg. just how HTTP uses chunks and unique boundary tokens).