From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.6.10/8.6.6) id VAA26659 for caml-redistribution; Wed, 15 May 1996 21:15:59 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.6.10/8.6.6) with ESMTP id TAA25756 for ; Wed, 15 May 1996 19:48:50 +0200 Received: from nef.ens.fr (nef.ens.fr [129.199.96.12]) by concorde.inria.fr (8.7.1/8.7.1) with SMTP id TAA27642 for ; Wed, 15 May 1996 19:48:49 +0200 (MET DST) Received: from localhost.ens.fr (ppp-2.ens.fr) by nef.ens.fr (5.65c8/ULM-1.0) Id AA03446 ; Wed, 15 May 1996 19:48:47 +0200 Received: from (dicosmo@localhost) by localhost.ens.fr (8.6.12/jb-1.1) Message-Id: <199605151748.TAA00291@localhost.ens.fr> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) In-Reply-To: <9605142250.AA13681@swag.med.ge.com> X-Nextstep-Mailer: Mail 3.3 (Enhance 1.0) Received: by NeXT.Mailer (1.118.2) From: Roberto Di Cosmo Date: Wed, 15 May 96 19:48:43 +0200 To: chet@watson.ibm.com, caml-list@pauillac.inria.fr Subject: Re: Class variables in O'Caml References: <9605142250.AA13681@swag.med.ge.com> Reply-To: Roberto.Dicosmo@ens.fr X-Www: http://www.ens.fr/~dicosmo Sender: weis 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