A gentle introduction to Prolog (2013)
I&#x27;ve seen multiple examples of prolog over the years.  From looking at them, one gets the idea that you must hardcode all your data into your program and the only UI is a somewhat odd shell, with no way to actually send input in or get output out.  It gives the impression of a neat idea that is a cool academic toy but not a practical language for real-world use.  I think that it would be helpful if more prolog intros had a simple example that read a CSV file or JSON object or something, processed it using the defined rules, and output the results to text or HTML file.  That&#x27;s a minor thing, but I think that it would give a better impression and get more people interested and trying it.<p>Of course intros to other languages may gloss over I&#x2F;O as well, but with mainstream imperative languages (that aren&#x27;t oriented to defining and querying data), it&#x27;s more well known or assumed that the standard I&#x2F;O patterns apply.