Comment by diggan
3 months ago
> I feel like I'm populating a database then doing queries on it. So it feels like SQL
I'm not sure what database technology/data storage that doesn't involve doing those two things to get started.
I haven't done any Prolog, but Datalog which is similar and focused on querying data, and the benefits of Datalog for me is that you can write complex/medium-complex queries a lot easier than in SQL, at least for me. Simpler queries are just less characters, but pretty much the same beyond that.
Probably helps that the Clojure ecosystem embraced Datalog so it mostly feels like writing Clojure code although it's really Datalog. You don't get that same feeling regardless of what SQL library/DSL you use.
No comments yet
Contribute on Hacker News ↗