Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Verbosity ?

In the accidental vs essential complexity dimension, it is the most dense language in essential complexity I know (for the value it provides).

This simple command `UPDATE users SET preference = 'blue' WHERE id = 123` virtually contains:

* concurrency control

* statistics, which will help:

* execution plans evaluation, which will reduce IO cost with the help of:

* (several categories of) indexes

* type checking

* data invariants checking

* point in time recovery

* enables dataset-wide backup strategies

* ISO standard way of structuring data

* an interface that empowers business people

And that's just a few items off the top of my mind.

Even APL is less dense. There are no execution plans in APL.



> it is the most dense language in essential complexity I know

QUEL is more dense for equivalent functionality:

   replace users (preference = "blue") where id = 123
Not to mention that it actually adheres to relational calculus, unlike the wild and reckless SQL.

> * type checking

It is only dynamically typed, though, which isn't all that useful. There is good reason why we are seeing static type systems being bolted on to most dynamically typed languages these days (e.g. Typescript). SQL would do well to add the same, but it seems it is seen as a sacred cow that cannot be touched, so I won't hold my breath.*




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: