From pmoura@noe.ubi.pt Tue Oct  2 19:34:58 2001
Received: from noe.ubi.pt (noe.ubi.pt [193.136.64.94])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f92HYwv10349
	for <prolog@swi.psy.uva.nl>; Tue, 2 Oct 2001 19:34:58 +0200 (MET DST)
Received: from localhost (delta.ubi.pt [193.136.64.178])
	by noe.ubi.pt (8.9.3/8.9.3) with ESMTP id SAA28336;
	Tue, 2 Oct 2001 18:32:19 GMT
Date: Tue, 2 Oct 2001 18:32:44 +0100
Subject: Re: [SWIPL] module coerency problem
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Mime-Version: 1.0 (Apple Message framework v472)
Cc: Paulo Moura <pmoura@noe.ubi.pt>, SWI Mailing List <prolog@swi.psy.uva.nl>
To: Armando Stellato <starred@tiscalinet.it>
From: Paulo Moura <pmoura@noe.ubi.pt>
In-Reply-To: <3BB9B22D.5090104@tiscalinet.it>
Message-Id: <7D33C512-B75B-11D5-B0A9-00039315BB3A@noe.ubi.pt>
X-Mailer: Apple Mail (2.472)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by swi.psy.uva.nl id f92HYwv10349


On Terça, Outubro 2, 2001, at 01:25 , Armando Stellato wrote:

> Hi, I've a problem with modules:
> I'm building an agent environment.
> I'm making great use of modules, so to create various layers and be 
> able to work on each of them without modify the code in the substrates.
> ...

You are going to always get in trouble using modules... ;-)

Why not use objects? They are much better suited to develop agent 
systems. Take a look at:

	http://www.ci.uc.pt/logtalk/logtalk.html

Bonus: your code will run unchanged in almost all current Prolog 
compilers with no modifications. You cannot do the same today using 
modules.

Regards,

Paulo


-----------------------------------------------------------
Paulo Jorge Lopes de Moura
Dep. of Informatics                   Office 4.3  Ext. 3257
University of Beira Interior          Phone: +351 275319700
6201-001 Covilhã                      Fax:   +351 275319732
Portugal

mailto:pmoura@noe.ubi.pt
http://www.ci.uc.pt/logtalk/pmoura.html
-----------------------------------------------------------

