From: David Pirotte <david@altosw.be>
To: Marko Rauhamaa <marko@pacujo.net>
Cc: guile-user@gnu.org
Subject: Re: Modules and GOOPS
Date: Sun, 31 Jul 2016 00:59:55 -0300 [thread overview]
Message-ID: <20160731005955.6cb20e38@capac> (raw)
In-Reply-To: <87h9b8fho5.fsf@elektro.pacujo.net>
[-- Attachment #1: Type: text/plain, Size: 928 bytes --]
Hi Róbert,
> More generally, take a look at <URL:
> http://www.delorie.com/gnu/docs/guile/guile-tut_10.html> and how
> MAKE-CELL has been defined. That's true OOP without classes or slots.
IMO, this is exactly what you don't want. You'll find some answers to why in the
following article, if you are interested:
CLOS: Integrating Object-Oriented and Functional Programming
Richard P. Gabriel Lucid, Inc.
Jon L White Lucid, Inc.
Daniel G. Bobrow Xerox PARC
May 3, 2004
I also suggest you read the Stklos Object System (on which Goops is based),
online manual pages [1]: they are easier to read (then our Goops ref man) and have
some beginner examples (and some links (to a CLOS tutorial also): note that Sklos
syntax is slightly different, but no big deal.
David.
[1] http://www.stklos.net/Doc/html/stklos-ref-8.html#STklos-Object-System
http://www.aiai.ed.ac.uk/~jeff/clos-guide.html
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-07-31 3:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-27 17:53 Modules and GOOPS Kovacsics Róbert
2016-07-27 19:44 ` Jan Wedekind
2016-07-28 22:36 ` David Pirotte
2016-07-28 21:14 ` David Pirotte
2016-07-29 5:17 ` David Pirotte
2016-07-29 17:00 ` Kovacsics Róbert
2016-07-29 18:00 ` Marko Rauhamaa
2016-07-31 3:59 ` David Pirotte [this message]
2016-07-31 10:44 ` Chris Vine
2016-07-31 16:38 ` Marko Rauhamaa
2016-07-31 2:35 ` David Pirotte
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160731005955.6cb20e38@capac \
--to=david@altosw.be \
--cc=guile-user@gnu.org \
--cc=marko@pacujo.net \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).