3 ms·
That's not my experience of Prolog and I can't see how it's yours if you have "almost no Prolog experience" etc. EDIT: I don't want to get into a holy flamewa
by YeGoblynQueenne 2mo ago
That's not my experience of Prolog and I can't see how it's yours if you have "almost no Prolog experience" etc.
EDIT:
I don't want to get into a holy flamewar (vim vs emacs? Oh dear) but I've heard that criticism before. I think the reason is that there's a kind of program that is absolutely trivial to write in Prolog: business logic, rules engines, etc, anything where you can write out the program logic as a set of facts and rules. I mean duh. A Prolog program is a set of facts and rules. But at that point you're* not even trying to use the language. Then of course, if you try to do something more complicated it will take more effort and you will need to really understand how Prolog works; which is not trivial.
So I think it's a bit like mathematics. Yeah, if you just want to add 1 and 1, it's easy. If you want to calculate the amount of fuel it will take to fly to the moon and back, it takes considerably more effort. You can see it as maths being "easy for the easy things but hard for the hard things", but it's just that the hard things are hard and take more work, not the fault of maths as such.
__________
* "You" in the abstract, not you personally.