Remix.run Logo
himata4113 8 hours ago

YAML seems like a great middleground here between xml and json..

tuetuopay 6 hours ago | parent | next [-]

My immediate thought. Except not "vanilla" YAML, but a safer stricter subset (iirc some people published a spec about it): no implicit conversion, no norway problem, etc. If only this gained actual traction.

The JSON in the article is a bit, let's say, heavy on the different objects and does not try to represent anything useful with most keys. All the things like `greaterOf`, `sum`, etc are much better expressed as keys than `{"children": [{"type": "greaterOf", ...}]}`.

Basically something that feels an reads like "freeform" yaml, yet that has an actual spec.

DamonHD 7 hours ago | parent | prev | next [-]

I have worked with a lot of langauges over decades including YAML, and I regard it as one of the worst that I have tangled with for a number of reasons...

himata4113 5 hours ago | parent | prev | next [-]

lots of haters when openspec is yaml(and json), k8s is yaml, most of go is yaml actually. sure I know it has faults, but it's really nice to type.

IshKebab 7 hours ago | parent | prev [-]

YAML is never a great anything.

7 hours ago | parent [-]
[deleted]