For a change of pace, lets do something more practical.
I have little doubt that whatever solution I push for CRUD, it will be based on a language that behaves like SQL.
But SQL has a large share of issues, some coming from semantics, and some from syntax. This article will focus on syntax, and experiment with a few alternatives.
The SQL syntax has some well known problems, most of them common in commercial languages from the 80s:
-
it's way too complex and inflexible
-
it's way too verbose
-
it's not composed of small blocks
-
small blocks do not compose into large instructions
-
the order it's written is inconsistent, doesn't match the semantics, doesn't work for partial program analysis, and allows for common and very harmful mistakes
-
extending the semantics requires adding complexity to the syntax
So, let's try changing it and see what it becomes.
Continue