Hacker News new | ask | show | jobs
by yummy 3122 days ago
I don't think working with numbers is a strong side of Prolog. Quicksort in Haskell is also 3 lines, but it's totally readable. I can make use of functional programming in my daily life, but logic? Never. But think of the Zebra puzzle. In Prolog the solution is 100% declarative.

BTW, I hate Prolog too.