3 ms·
I feel like its fair to call logic programming, including prolog and datalog, exotic. They've fallen out of the mainstream (especially compared to lisp which wa
by bawolff 6y ago
I feel like its fair to call logic programming, including prolog and datalog, exotic. They've fallen out of the mainstream (especially compared to lisp which was a big competitor to it at the time) and are quite different to program in than procedural languages.
My mental model of prolog is to imagine you are constructing a graph, where some of the nodes have side effects, and then tell the compiler to do a depth-first-search, executing any side effects it comes across.
- lifthrasiir 6y agoI'm now even less sure that there are truly exotic ideas out there, but my original point was that "exotic" means something foreign, not coming from the mainstream at any point. And the complicated history of programming means virtually anything has been tried at some point.