Re: YAML 2.0: drop arbitrary nodes to be used as keys
Andrey Somov <[email protected]> Wed, 2 Mar 2016 17:09:26 +0100
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <CALbkv0fmRuM3SdrRo6BSuB+SD5YzCdyY_0Vq3tecm8JY886xSg@mail.gmail.com> |
>On the contrary: Complex objects (structs, records, classes, tuples, however they are named) are part of most programming languages, and it is fine to use them as mapping keys. So YAML should support them (see my other answer for an example). If something is possible to do it does not mean it should be done. >Firstly, YAML was designed as a serialization language. If YAML is used primarily as configuration should it reflect the reality and adapt ? >Secondly, allowing this argument would create a chicken-and-egg-problem There is no problem. Complex keys were introduced many years ago and they are not used. No one showed still ANY live example of complex keys. Andrey ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core