Live data from Hacker News

That's a Lot of YAML

noyaml.com

11–20 of 78 posts

Re: That's a Lot of YAML

#11

There is no problem with YAML, just like there was no problem with XML at all. The problem is with the software devs who use it for the wrong thing. I just wonder why JSON doesn't get all the hate, while it is a terrible format also: it is not streamable (YAML is), it doesn't have comments... and non-standard workarounds are used for these features. Norway better than YAML, in my opinion.

There are plenty of problems with YAML as the article shows. The biggest problem with YAML is, that serializer and deserializer need to agree on rules outside of the spec, because otherwise they can be both compliant and still don't understand each other.

Re: That's a Lot of YAML

#13
Surprised TOML didn't get mentioned in the alternatives section, it's probably my favourite configuration format.

I'm working on a project now that uses YAML for configuration (it makes more sense in this context than TOML) and am parsing it using Rust's `serde` crate (via `serde_norway`). It's not so bad if you use `#[serde(deny_unknown_fields)]` everywhere.

Re: That's a Lot of YAML

#14

There is no problem with YAML, just like there was no problem with XML at all. The problem is with the software devs who use it for the wrong thing. I just wonder why JSON doesn't get all the hate, while it is a terrible format also: it is not streamable (YAML is), it doesn't have comments... and non-standard workarounds are used for these features. Norway better than YAML, in my opinion.

I also wonder why it’s the 2012 version of the language which gets all the hate, instead of the hate being directed at Google, who doesn’t care about putting resources towards updating the main offender, Kubernetes’ YAML 1.1 parser. https://github.com/kubernetes/kubernetes/issues/34146#issuec...

Re: That's a Lot of YAML

#16
post #4

Next time the author would like to write an article like that, it’s better that they offer a new standard that is as flexible while also doing the work YAML is doing today

EDN? Probably too flexible from some perspectives. No surprise Norways though.

That’s the problem people IMO don’t understand - flexibility is one of many requirements; simplicity and ecosystem around are two more.

Hating YAML is same as being childish - yo using like something but can’t come up with anything better. Worse than YAML can be only complaining about YAML. Hating YAML is a cliche.

Its much easier to come up with jokes like this website than to change the ecosystem for better.

And I definitely think the websites like this is opposite to the engineering approach.

Not defending YAML though in particular.

Edit: grammar

Re: That's a Lot of YAML

#20

There is no problem with YAML, just like there was no problem with XML at all. The problem is with the software devs who use it for the wrong thing. I just wonder why JSON doesn't get all the hate, while it is a terrible format also: it is not streamable (YAML is), it doesn't have comments... and non-standard workarounds are used for these features. Norway better than YAML, in my opinion.

I, for one, hate JSON.
Post reply on HN