Declarative syntax has been around for a while now; you may have used it before without even realizing it. Let's take a look at the following Structured Query Language (SQL) syntax:
SELECT column1, column2, ...
FROM table_name
WHERE condition;
Notice anything familiar? That's right: declarative syntax right there... give me column1 and column2 from a particular table where this condition is met.
Most recently, the declarative syntax has been making its way into even more UI frameworks such as Google's Flutter and, most recently, into Android's new Jetpack Compose, both of which use a declarative syntax style to allow developers and designers to build a UI.
We've mentioned a few times already that declarative syntax gives us a much more functional and logical approach to programming. They are paradigms that sit beneath the declarative paradigm as a whole. SQL, for example, sits within DSL (Domain-Specific Language), along with...