Hacker News new | ask | show | jobs
by 6thaccount2 2535 days ago
I do think "to a fault" is subjective, but things like Prolog make a great example. Prolog is really cool and useful, but it makes anything except for the queries a real nightmare and will therefore never takeoff as a general purpose language. That's all I'm trying to say. Languages like Perl allow you to do logic programming with logic programming libraries, but also make text processing a breeze.

Take it with a grain of salt of course. Smalltalk is amazing, but the way you store code in an image isn't for s everyone.

I don't understand your last paragraph...can you please elaborate? What cute sayings are you referring to?

1 comments

I meant the cute saying about modernism and "to a fault".

I agree about Prolog being logic-only. (Though it was once included as the query language of the complex data model of a commercial CAD-like system I worked on.)

Now Scheme (not lists and recursion to a fault) and other languages have logic programming as library or language extension: https://en.wikipedia.org/wiki/MiniKanren

Incidentally, I don't want to sound dismissmive Prolog. It's worth learning a bit, such as with now-free books like: https://mitpress.mit.edu/books/art-prolog