News for hackers. Stuff that matters.
Re:Ask HN: Top Skills to Learn for 2022? by echelon on Monday December 20, 2021 @02:36PM (#29629096)
What a horrible answer.

Prolog is hard to write. When you modify it, you have to understand the logical world state.

Outside of academia, there's no use for prolog.

Re:Ask HN: Top Skills to Learn for 2022? by yjftsjthsd-h on Monday December 20, 2021 @03:21PM (#29629783)
> Outside of academia, there's no use for prolog.

Prolog certainly has been used in industry; https://en.wikipedia.org/wiki/Prolog#Use_in_industry has some useful discussion, and https://news.ycombinator.com/item?id=29539384 talks about its use in network software.

Re:Ask HN: Top Skills to Learn for 2022? by Jtsummers on Monday December 20, 2021 @03:48PM (#29630093)
It's not a horrible answer, though it wouldn't make my top 3 list. Learning different models of programming is almost always worthwhile, though how much time you put in will depend on your objectives. Languages and systems in the declarative/logical/relational vein like Prolog, minikanren, and others are worth examining at least once. If you grok them, it can be very handy with prototyping, even if it doesn't make it into production. And if you really grok them, you can Greenspun a Prolog into your system more effectively when it turns out its model is actually appropriate to a portion of the system.

With regard to this, though:

> When you modify it, you have to understand the logical world state.

That's true of any non-trivial program someone may write and/or modify. Changing without understanding is just going to get your garbage (perhaps functional garbage, but still garbage).

Re:Ask HN: Top Skills to Learn for 2022? by tmaly on Monday December 20, 2021 @10:47PM (#29633596)
I used it one time professionally to build an expert system to fill out a very complex financial form for 4k accounts.