Re: Are Logtalk objects "real" objects?...
- From: A.L. <alewando@xxxxxxxxxx>
- Date: Tue, 08 Apr 2008 10:23:09 -0500
On Tue, 8 Apr 2008 07:17:24 -0700 (PDT), Paulo Moura
<pjlmoura@xxxxxxxxx> wrote:
On Apr 8, 1:56 pm, A.L. <alewa...@xxxxxxxxxx> wrote:
On Tue, 8 Apr 2008 01:56:38 -0700 (PDT), Paulo Moura
<pjlmo...@xxxxxxxxx> wrote:
Nevertheless, If you really want to use Prolog modules as Logtalk
objects,
No. AI don't want to use modules as objects. As I said, objects and
modules are different things.
In the context of Prolog, both modules and (Logtalk) objects share the
property of encapsulating predicates. This, of course, does not imply
that they are the same concept in disguise. Crossing to other
programming languages, one easily finds many variations (and
materializations) of both concepts.
See Clemens Szyperski paper
Import is not inheritance - Why we need both: modules and classes
from here
http://research.microsoft.com/users/cszypers/pub/
The link to the paper is broken. Maybe you can describe the basic
ideas with your own words, preferably in the context of Prolog?
Check here
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.53.2290
A.L.
.
- Follow-Ups:
- Re: Are Logtalk objects "real" objects?...
- From: Paulo Moura
- Re: Are Logtalk objects "real" objects?...
- References:
- Re: Are Logtalk objects "real" objects?...
- From: A . L .
- Re: Are Logtalk objects "real" objects?...
- From: Paulo Moura
- Re: Are Logtalk objects "real" objects?...
- From: A . L .
- Re: Are Logtalk objects "real" objects?...
- From: Paulo Moura
- Re: Are Logtalk objects "real" objects?...
- From: A . L .
- Re: Are Logtalk objects "real" objects?...
- From: Paulo Moura
- Re: Are Logtalk objects "real" objects?...
- From: A . L .
- Re: Are Logtalk objects "real" objects?...
- From: Paulo Moura
- Re: Are Logtalk objects "real" objects?...
- Prev by Date: Re: Are Logtalk objects "real" objects?...
- Next by Date: Re: Are Logtalk objects "real" objects?...
- Previous by thread: Re: Are Logtalk objects "real" objects?...
- Next by thread: Re: Are Logtalk objects "real" objects?...
- Index(es):
Relevant Pages
|