From: Roberto Di Cosmo <Roberto.Dicosmo@ens.fr>
To: chet@watson.ibm.com, caml-list@pauillac.inria.fr
Subject: Re: Class variables in O'Caml
Date: Wed, 15 May 96 19:48:43 +0200 [thread overview]
Message-ID: <199605151748.TAA00291@localhost.ens.fr> (raw)
In-Reply-To: <9605142250.AA13681@swag.med.ge.com>
In Objective-C, there is no language support for class variables,
only for class methods...
But since that is a kind of C anyway, you can achieve sort of the
same effect by declaring a static variable in the file containing
the class
implementation, and access/modify it through class methods (that, again,
are supported) ...
(this is just to complete the C++/Objective-C/Java picture: by the way,
Java is embarassingly similar to Objective C, and even the online
documentation
copies a lot on NeXT's one ... does anybody know for sure if
Java's designer are really
former NeXT's employees, as somebody told me?)
As for what Objective Caml should have... I do not have yet a clear
idea...
It seems to me that some kind of support for "safe" dynamic typing would
be more urgent, maybe...
--Roberto
next prev parent reply other threads:[~1996-05-15 19:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-14 22:50 David Gurr
1996-05-15 17:48 ` Roberto Di Cosmo [this message]
-- 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=199605151748.TAA00291@localhost.ens.fr \
--to=roberto.dicosmo@ens.fr \
--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