Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
The "Objective" part of Objective Caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-07 (21:56)
From: Florian Weimer <fw@d...>
Subject: Re: Ant: [Caml-list] The "Objective" part of Objective Caml
* Martin Chabr:

> --- Florian Weimer <> wrote:
>> I was a bit surprised when I started playing with Caml objects.  I
>> couldn't find a definite reference, but it seems that the object
>> system was indeed inspired by the "Objective" family of languages
>> (the "evolutionary approach" to add a Smalltalk-like object system
>> described by Brad Cox in the 80s, later picked up by NeXT).  Is
>> this really the case?  Or is the similarity just a coincidence?
> The object oriented part of OCaml is roughly speaking
> just as capable as that of Python, C++, Java, C# etc.

Sure, I don't doubt that.  I'm interested in the genesis of the object
system, though, and if the structural similarity to the Objective C
effort by Brad Cox is just a coincidence, or was deliberate.

(There is a significant difference, though, because Objective Caml
uses static type checks to ensure that every message has a receiver.)