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

I think SQL is better than datalog. I suspect this is one of those opinions that may be somewhat outside consensus on a forum like HN, but is strongly within the consensus more broadly.


I like both, they excel at different things.

SQL is pretty horrifying when you start getting tree structures or recursive structures. While Datalog handles those like a champ.

SQL is really nice for columnar data, and it's well supported almost everywhere.

Though Datalog isn't half bad at columnar data either.


Yeah. I think you and I have the same opinions about this :)

I like SQL more when working with tabular data (especially for analytical use cases), but that has (thus far) dominated the kinds of work I've done.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: