Jump to content



  • Please log in to reply
1 reply to this topic

#1 Pilsen



  • Salty Members
  • 3907 posts
  • LocationPhilippines

Posted 18 November 2011 - 07:20 AM

Anyone knows how to program n this?

I just decided to learn it randomly and I'm interested since it's so diferent, it's really hard actually to lear it since it's too different but I'm enjoying it.

Anyway, i don't think it can help me make practical applications but do you think it's worth learning? I mean I do think it helps people think logically and my college logic class is helping me understand it more easily actually.

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

#2 Biggles


    Advanced Member

  • Salty Members
  • 984 posts
  • LocationNew Zealand

Posted 18 November 2011 - 09:48 AM

I don't enjoy prolog much but it's certainly worth learning, especially if it's your first experience with declarative programming. It's mostly used by old AI weirdos for their intelligent agents and planners. I don't think I'd write one in it (and newer planners like Fast Downward are often written in newer languages like Python,) but being able to read prolog code you come across can't hurt.

I found that when I tried to learn prolog, many of the beginning examples in books were overly trivial. They described logic puzzles as opposed to actual programs. I would suggest trying to implement the STRIPS planning system and A* search, since I would consider them typical prolog programs. I don't think I remember enough about prolog to be of much help with the programming, but I'm somewhat comfortable with the AI ideas that are often expressed in it if there's anything you want to know.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users