Hacker News new | ask | show | jobs
by siddboots 4308 days ago
> The central problem with SQL is a lack of modularity and reusability. The syntax is easy to learn, it's just onerous to do complex things.

From what I understand of it, the author here is describing a completely different avenue by which relational programming language could be made more powerful. Namely, through a higher-order type system. This is surely more powerful a proposal than merely providing a mechanism for modularity on top of SQLs existing interpretation of the relational model.

> What we need is a higher level language or tool...

ORMs and framework layers that compile to SQL have been around for decades, and while they do allow modularity, they remain a source of perennial dissatisfaction^1. Why is yet another such language or tool what we need?

If modularity and reusability really was "the central problem with SQL", surely the problem can be called solved given all of the existing solutions that you describe?

^1 http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Compute...