3 ms·
Yaml does not have footguns. It has dumb humans who use it as a configuration format, when it is a data serialization format. Using a car engine as a pizza ove
by throwawaaarrgh 3y ago
Yaml does not have footguns. It has dumb humans who use it as a configuration format, when it is a data serialization format.
Using a car engine as a pizza oven would also result in problems if you tried to cook a pie with it. But having a toxic half cooked pizza doesn't mean the engine has footguns. The engine works fine if you use it to drive to a pizza place to pick up a pizza.
- Cloudef 3y ago>when it is a data serialization format. How? It's even worse as a serialization format. Why would you want to serialize into human readable blob anyways? https://github.com/cblp/yaml-sucks https://github.com/cblp/yaml-sucks
- throwawaaarrgh 3y agoThat person is using it wrong. They are writing the file by hand, violating the spec. Don't write yaml by hand. It is not designed to be used that way.