Re:Prolog's Death (2010)
by marcosdumay on Friday May 10, 2019 @10:01PM
(#19884045)
Software has evolved on a direction where sending sets around is natural. That is no evidence that sending theorems around is problematic, it's just that current communication implementations happens to be very data-friendly and logic-unfriendly.
There is probably a very human reason for that, but mathematically both representations are perfectly replaceable.
Re:Prolog's Death (2010)
by guicho271828 on Friday May 10, 2019 @06:59PM
(#19883069)
bagof/setof/findall ARE indeed list comprehensions, aren't they
Re:Prolog's Death (2010)
by gavanwoolery on Friday May 10, 2019 @06:45PM
(#19882972)
agree with you - added clarification to my original comment :)
On the other hand, Prolog programs are logic theories (as are Prolog queries) and their executio is a proof. The range of programs that can be expressed in Prolog is the set of programs that are computable by a Turing machine. So yes, Prolog is a programming language. Whether it's "terrible" or not is up to personal taste.
I mean, I don't konw of an objective measure of what makes a programming language "terrible".