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

Procedural language fanatics have been trying for years to overturn the best declarative language for relational data.


That would be the domain of logic programming languages like Prolog. SQL and its dialects are more for very specific and restricted applications of relational calculus, not general languages for expression of relations, conditions and categories.


PRQL is declarative. They are just heeding the maxim "If it's broke, fix it".


Typing fields before table name is like the least bad thing about SQL and doesn't need fixing.


what do you think is the "most bad" thing about SQL?


Lack of abstractions like (block-scoped) variables and lambda functions.

SQL is declarative and purely functional anyways, so implementing these is a no-brainer.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: