I Love Declarative Programming Languages!
Updated: Sep 3, 2021
There, I said it, I enjoy every declarative language I use
These languages - modern or anachronistic - are just invitations to dig yourself into a hole of technical debt (I'm joking just a little). If you don't believe me, look at a huge monolith application you've written several years later.
Although I get it, you can't do much with the four declarative languages outside a tool, But if you have that tool, you can leverage the tool and go a lot further in building applications. It's the idea of preferring the least possible amount of imperative coding to solve a problem.
HTML - The Browser
SQL - Any Database
JSON - Pick your poison
YAML - CloudFormation, Terraform
SQL is, hands down, the best language ever written. That's one reason why I'll never understand folks who replace pipelined SQL with spaghetti imperative applications. I shouldn't have to spin up a compiler and run your code to see the SQL statements generated. There are so many no-code tools to put SQL together and even if you need some imperative logic, you can minimize the evil and write a stored procedure or a Lambda function.