Remix.run Logo
giveita 2 days ago

I think it is telling no programming language has settled on YAML or JSON as a syntax. Because that would drive you nuts.

But we allow it for files that tend to make production changes usually without any unit tests!

I'd prefer something syntaxed like a programming language but without turing completeness.

knome 2 days ago | parent | next [-]

Azure and GitHub build pipelines are written in yaml and have conditionals, variables, template expansions, etc

ruuda 2 days ago | parent [-]

GitHub Actions also have function calls, it’s just that they can only occur in very specific places in the program, and to define a function you have to create a Git repository.

And don’t forget Ansible playbooks!

vrighter 15 hours ago | parent [-]

and they all suck horribly to use

danans 2 days ago | parent | prev [-]

> I think it is telling no programming language has settled on YAML or JSON as a syntax.

It's not telling, it's impossible. Neither JSON or YAML are Turing complete. That said, the JS in JSON is for Javascript, whose syntax it is derived from, so at least one major language uses it in its syntax.