3 ms·
It is older than C. It is based on COBOL era idea of structured English as a computer language. There are better alternatives, e.g. Datalog.
by huahaiy 2mo ago
It is older than C. It is based on COBOL era idea of structured English as a computer language. There are better alternatives, e.g. Datalog.
- senderista 2mo agoCOBOL is indeed the spiritual predecessor of SQL. We have learned a lot since then about PL design, to put it mildly.
- pjmlp 2mo agoYes, we now programm in straight English, and hope the machine gets it right.
- huahaiy 2mo agoSo this really is a NL to query translation problem. That exactly is why the target language matters. Simpler target languages makes AI’s work easier, as it saves tokens and context, so it is less likely for AI to make mistakes.
- pjmlp 2mo agoThese kind of comments don't age well in the days of AI programming using English.
- huahaiy 2mo agoAI programming using English makes the database query language choice more important than before. Different languages require different context sizes. A better language is one requires less tokens and context.
- schaefer 2mo agoI'm curious if you've personally used datalog in any projects. I've written some prolog, but haven't ever worked with datalog. Minigraph looks promising for some introductory goofing around.
- huahaiy 2mo agoI am the author of Datalevin, a Datalog database. In addition to using it in production personally, I am aware of other people using it. So, the answer is yes.
- johnthescott 2mo agopretty sure clang is older than sql. hal agrees.