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

SQL is not functional. But otherwise I support the desire for an FP and relational language.


> SQL is not functional

I agree that you are technically correct. It is simply declarative in nature. I've got a habit of conflating these terms. Functions aren't first-class citizens in SQL. We also have some UDFs that are impure (because the real world unfortunately exists).

I'd be perfectly happy to rename this a "Declarative-Relational" programming model if that sits better with everyone.


(Pure) SQL is a Set-theoretic language.




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

Search: