3 ms·
I'd like to see a comparison to the alternatives to illustrate objective benefits. I've been down that road before in my-language-can-beat-up-your-language deba
by tabtab 8y ago
I'd like to see a comparison to the alternatives to illustrate objective benefits. I've been down that road before in my-language-can-beat-up-your-language debates, and the end result is usually, "Well, my approach looks easier and simpler TO ME; you just think wrong." Other times they do queries in the app language when they should be using a database.
- simion314 8y agoI don't think I understand your point, prolog is a logic programming language, some problems are easy to express like facts and rules so Prolog is a good solution, you can see examples in this HN thread of real usage. It is like recursion, some problems can be solved nice with recursion but you do not use recursion everywhere. Also you can use a library in your favorite programming language and not use prolog, examples were presented in this thread. My point is that a good programmer should know about the concept not to use it everywhere, I never had the chance to use prolog so far for my work. Btw I am also past the stage where I have a favorite language and OS, every piece of software has it's issues.
- tabtab 8y agoThe examples I see are what I'd call "lab puzzles" and not practical real-world enough. I invite you to point out a specific example that's highly practical/realistic.
- simion314 8y agoDid you see the real world uses? like prolog was and may still be used in Windows? The puzzle examples are for educational purpose. Again I am just a noob, I learned Prolog and did some basic things years ago, a cool page I used to learn was this tutorial that implements a text based game , more refreshing then the tutorials with puzzles or the familiry http://www.amzi.com/AdventureInProlog/a1start.php http://www.amzi.com/AdventureInProlog/a1start.php The situation is maybe similar with GA(genetic algorithms) when you learn it you have some simple examples, when you want to solve a real problem things get complex fast(how to encode the problem,what fitness function should I use ...)