3 ms·
The knowledge is in the YAML Exactly why I hate CloudFormation, K8S, GitHub Actions, etc. yaml is a terrible format for the knowledge encoded in these artifact
by aaronbrethorst 5mo ago
The knowledge is in the YAML
Exactly why I hate CloudFormation, K8S, GitHub Actions, etc. yaml is a terrible format for the knowledge encoded in these artifacts.
- rienbdj 5mo agoThere are compile-to-yaml config languages
- aweiland 5mo agoAny good ones people would recommend?
- WorldMaker 5mo agoIn my experience I tried a few and kept returning to just Typescript with a good YAML serializer library. Most of what you need in YAML programming is "Typed JSON" and Typescript is an excellent "Typed JSON" and "Typed JSON modularization and merger tool". Then just a little bit of glue code to pass your finished "Typed JSON" into a YAML serializer, depending on any "complex" YAML features you might need.
- rienbdj 5mo agoNot a bad solution at all. It does require some discipline to write deterministic templates etc. though.