4 ms·
A pretty minimal introduction to the language; it doesn't much discuss why one would prefer programming in Prolog to writing the same things in Erlang or Scheme
by gchpaco 17y ago
A pretty minimal introduction to the language; it doesn't much discuss why one would prefer programming in Prolog to writing the same things in Erlang or Scheme. But within its scope it's pretty fair.
- hristov 17y agoWell, prolog is especially good at a certain task. And that is storing and dealing with logically organized language like data. Back in the time, people used to refer to this as storing and dealing with knowledge instead of data. The main idea of prolog is to kind of mimic the way the human mind stores knowledge. So eventually one would be able to store the knowledge obtained by an extpert, such as a botanist, engineer, car mechanic, attorney, etc. and be able to recall it or use it to solve problems in simple language like queries. That is a pretty ambitious goal and, to the best of my knowledge, I don't think it has ever really worked. Nevertheless, it is a very cool language and its ultimate goal may work now that computing power is so high.