From: "Francisco Valverde Albacete" <fva@tsc.uc3m.es>
To: caml-list@inria.fr
Subject: Semantics for objects [Was: Thoughts on O'Labl O'Caml merge.]
Date: Wed, 20 Oct 1999 16:33:20 +0200 [thread overview]
Message-ID: <380DD2B0.A697F9D7@tsc.uc3m.es> (raw)
In-Reply-To: <380CC42E.772DA81@maxtal.com.au>
Il y a un petit resume en francais a la fin.
-----------------------
skaller wrote:
> My opinion is quite different: object orientation
> cannot possibly work. It is completely unsupported by any
> coherent theory and can be so easily discredited by a single
> example that it is clear adherents were simply ignorant
> of basic theory. [no binary operator can be correctly
> represented; more generally, no n-ary relation for n>1]
>
> > Okay, so the obvious symptom of the disease is that 'a appears
> > covariantly in get_center, and contravariantly in set_center. But
> > what's the root cause of these symptoms?
>
> Simple. The covariance problem is a direct consequence of
> the incorrect assumption that a class can represent an abstraction.
> We know from category theory that a CATEGORY and NOT a class
> represents an abstraction, and an instance of the abstraction
> must be a functor.
I think there's some people trying to give final coalgebra semantics to
objects, certainly to "states". I have only began to understand the issue (I
look at it from the perspective of labelled transition systems), but the
landscape looks beautiful (if daunting!). Have a look at J.J.M.J. Rutten's
page
http://www.cwi.nl/~janr/
or specifically for objects B. Jacobs:
http://www.cwi.nl/~bjacobs/
I think you'll find this interesting:
B. Jacobs, Objects and classes, co-algebraically. In: B. Freitag, C.B.
Jones, C. Lengauer, and H.-J. Schek (eds) Object-Orientation with
Parallelism and Persistence Kluwer Acad. Publ., 1996, p. 83--103.
Regards,
Francisco Valverde
--------------------------------------
Resume en (affreux) francais:
Il semble qu'on peut assigner une semantique de coalgebre finale aux objects
et ses classes. V. les URL cites en haut.
prev parent reply other threads:[~1999-10-21 9:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-14 23:59 Thoughts on O'Labl O'Caml merge John Prevost
1999-10-17 11:01 ` skaller
1999-10-17 19:13 ` John Prevost
1999-10-19 19:19 ` skaller
1999-10-20 14:33 ` Francisco Valverde Albacete [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=380DD2B0.A697F9D7@tsc.uc3m.es \
--to=fva@tsc.uc3m.es \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox