top | item 43200798

(no title)

slillibri | 1 year ago

HCL isn’t a programming language. This seems to be the main misconception about it and Terraform.

discuss

order

vrosas|1 year ago

Any sufficiently large configuration language eventually becomes Turing complete (or close to it). See HCL, GitHub actions, kubernetes.

mdaniel|1 year ago

Kubernetes 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"

cyberpunk|1 year ago

It’s so infuriatingly close though which is what makes it so fucking annoying to work with. It has loops, conditionals, variables…

thanatos519|1 year ago

Indeed, it's the worst case of uncanny valley syndrome!