Search
  • Tim Burns

I Love Declarative Programming Languages!

Updated: Sep 3, 2021



There, I said it, I enjoy every declarative language I use

  • HTML

  • SQL

  • JSON

  • YAML


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.

  • Java

  • React

  • C-Sharp

  • Python

  • Cloture

  • Fortran

  • C

  • C++

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.

26 views0 comments

Recent Posts

See All

Downloading CMS Data is a bit tricky. The base site is here: https://data.cms.gov/provider-data/docs After beating my head against the wall, I discovered that the data key is embedded on the web page.