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
OO programming
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-21 (09:42)
From: Erik de Castro Lopo <mle+ocaml@m...>
Subject: Re: [Caml-list] OO programming
Tiphaine Turpin wrote:

> After a few unsuccessfull tries with using the object oriented features 
> of ocaml, I have been looking for ways to write classes that have a 
> chance to typecheck.

OO in Ocaml is vastly different from OO in languages you might be used
to like Java, C++, Python etc.

If you are new to Ocaml, I highly recommend you forget about using Ocaml's
OO features until you feel comfortable with the base features of the 

Erik de Castro Lopo
"Projects promoting programming in natural language are intrinsically
doomed to fail." -- Edsger Dijkstra