<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/10/b10283d8300b4f100899009b6735c9f9"
  from="brogoff@s..."
  author="brogoff@s..."
  date="2003-10-22T13:21:30"
  subject="Re: [Caml-list] OCaml wishlist"
  prev="2003/10/37ee21d15661a558c82cc9e8b9ac551d"
  next="2003/10/865d716a1499fe5a9cc13f60e84a8a3e"
  prev-in-thread="2003/10/37ee21d15661a558c82cc9e8b9ac551d"
  next-in-thread="2003/10/34f3190c6d99486609f1bcf1a25eb523"
  prev-thread="2003/10/08bd0ecfdca5cc2e49c8e01b5c9d4507"
  next-thread="2003/10/865d716a1499fe5a9cc13f60e84a8a3e"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] OCaml wishlist">
<msg 
  url="2003/10/36ad1eb7cafe994a34e3761a559f87ee"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-10-21T22:39:22"
  subject="Re: [Caml-list] OCaml wishlist">
<msg 
  url="2003/10/2c38ef89fcee5bfcb051460d8e0d485f"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-10-22T01:14:47"
  subject="Re: [Caml-list] OCaml wishlist">
<msg 
  url="2003/10/37ee21d15661a558c82cc9e8b9ac551d"
  from="samsaga2 &lt;samsaga2@s...&gt;"
  author="samsaga2"
  date="2003-10-22T10:52:02"
  subject="Re: [Caml-list] OCaml wishlist -&gt; my wish">
</msg>
<msg 
  url="2003/10/b10283d8300b4f100899009b6735c9f9"
  from="brogoff@s..."
  author="brogoff@s..."
  date="2003-10-22T13:21:30"
  subject="Re: [Caml-list] OCaml wishlist">
</msg>
<msg 
  url="2003/10/34f3190c6d99486609f1bcf1a25eb523"
  from="Eray Ozkural &lt;exa@k...&gt;"
  author="Eray Ozkural"
  date="2003-10-23T00:32:15"
  subject="Re: [Caml-list] OCaml wishlist">
</msg>
<msg 
  url="2003/10/524383af3fd063e600f8875e23deb14b"
  from="skaller &lt;skaller@o...&gt;"
  author="skaller"
  date="2003-10-23T16:55:55"
  subject="Re: [Caml-list] OCaml wishlist">
</msg>
</msg>
</msg>
</thread>

<contents>
On Wed, 22 Oct 2003, Jacques Garrigue wrote:
&gt; Overall, I would not characterize ocaml objects as weak, but rather
&gt; nonintuitive.

I agree. They're actually rather powerful. OCaml has multiple inheritance,
whereas Java doesn't.

Unfortunately, they are also nonintuitive, complex, and don't really blend well
with the rest of the language, IMO. I'm thinking of pattern matching here. I
realize that the class system did evolve from an earleir approach based on
records, so it has been thought of before, and there are many issues to
consider...

Still, I hope some future ML variant will address these issues, either by
dispensing with the class system and providing alternative solutions, or maybe
by providing another OO approach (like CLOS/Dylan style) altogether. For now,
OCaml is the only game in town for the working programmer.

-- Brian


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

