From: gurr@snap.med.ge.com (David Gurr)
To: chet@watson.ibm.com, caml-list@pauillac.inria.fr
Subject: Re: Class variables in O'Caml
Date: Tue, 14 May 1996 15:50:59 -0700 [thread overview]
Message-ID: <9605142250.AA13681@swag.med.ge.com> (raw)
Chet Murthy <chet@watson.ibm.com>:
> Class variables are valuable syntactic sugar, because they group the
> mutable, but shared, state of a class together, in a way which is
> difficult for a naive programmer to ignore.
"mutable, but shared, state of a class" sounds wrong. How about
"mutable shared state of instances of a class" or "mutable state of
a class"? The latter is simply a slot of a class object. The former
is a limited form of delegation. What ever would be desired for
the commercial sector, please stick to the pedantic tradition of
ML and give extensions a coherent semantics. -D
next reply other threads:[~1996-05-15 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-14 22:50 David Gurr [this message]
1996-05-15 17:48 ` Roberto Di Cosmo
-- strict thread matches above, loose matches on Subject: below --
1996-05-13 19:03 Chet Murthy
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=9605142250.AA13681@swag.med.ge.com \
--to=gurr@snap.med.ge.com \
--cc=caml-list@pauillac.inria.fr \
--cc=chet@watson.ibm.com \
/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