Browse thread
Re: [Caml-list] OCaml wishlist
-
Richard Jones
-
Jacques Garrigue
- samsaga2
- brogoff@s...
- Eray Ozkural
- skaller
-
Jacques Garrigue
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | brogoff@s... |
| Subject: | Re: [Caml-list] OCaml wishlist |
On Wed, 22 Oct 2003, Jacques Garrigue wrote: > Overall, I would not characterize ocaml objects as weak, but rather > 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