5 ms·
HCL isn’t a programming language. This seems to be the main misconception about it and Terraform.
by slillibri 2y ago
HCL isn’t a programming language. This seems to be the main misconception about it and Terraform.
- vrosas 2y agoAny sufficiently large configuration language eventually becomes Turing complete (or close to it). See HCL, GitHub actions, kubernetes.
- mdaniel 2y agoKubernetes is not like the others in that list because it remains a declaration of intended state. There are for sure no "if", "loop", or even variables in the .yaml files. You may be thinking of the damn near infinite templating languages that generate said yaml, or even Kustomize that is JSONPatch-as-a-Service. GHA is not like the others because it is an imperative scripting language in yaml, not a "configuration language"
- baby_souffle 2y ago> Kubernetes is not like the others in that list because it remains a declaration of intended state Mutation via hook?
- cyberpunk 2y agoIt’s so infuriatingly close though which is what makes it so fucking annoying to work with. It has loops, conditionals, variables…
- thanatos519 2y agoIndeed, it's the worst case of uncanny valley syndrome!