←back to thread

Learn Prolog Now

(lpn.swi-prolog.org)
205 points rramadass | 1 comments | | HN request time: 0s | source
Show context
jackallis ◴[] No.45901786[source]
is prolog a use-case language or is it as versatile as python?
replies(4): >>45901913 #>>45901945 #>>45902960 #>>45902978 #
qsort ◴[] No.45901945[source]
Python wins out in the versatility conversation because of its ecosystem, I'm still kinda convinced that the language itself is mid.

Prolog has many implementations and you don't have the same wealth of libraries, but yes, it's Turing complete and not of the "Turing tarpit" variety, you could reasonably write entire applications in SWI-Prolog.

replies(1): >>45902068 #
WillAdams ◴[] No.45902068[source]
Right, Python is usually the second-best choice for a language for any problem --- arguably the one thing it is best at is learning to program (in Python) --- it wins based on ease-of-learning/familiarity/widespread usage/library availability.
replies(3): >>45902474 #>>45902667 #>>45902769 #
1. aeonik ◴[] No.45902474{3}[source]
More like 3rd to 5th best is most categories. There's just a lot of categories.

Its ease of use and deployment give it a lot more staying power.

The syntax is also pretty nice.