Re:YAML: probably not so great after all (2017)
by dokem on Wednesday June 20, 2018 @04:42PM
(#17359565)
I think you are purposely mis-interpreting me. Python dicts are practically, syntactically identical to JSON. Yes, python dict values can be any python value the same way JSON in JS can be any JS value. Point being, someone coming from python would see JSON as identical to a python dict. We can run around in semantic circles all day.
[ Parent
| on HN ]
Re:YAML: probably not so great after all (2017)
by weberc2 on Wednesday June 20, 2018 @05:22PM
(#17359913)
> I think you are purposely mis-interpreting me.
You misrepresented yourself by saying "object" when you meant "dict" and saying "practically identical" when you meant "vaguely syntactically similar". I wasn't trying to nitpick your semantics; I just had no idea that "Python objects are practically identical to JSON" meant "Python dicts are to Python what JSON objects are to JS, oh and also Python dicts have some syntactic similarlities to JSON" or whatever.