Browse thread
[Caml-list] productivity improvement
[
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: | Michael Vanier <mvanier@c...> |
| Subject: | Re: [Caml-list] productivity improvement |
Imperative code in ocaml is not going to be massively different than imperative code in any other (garbage-collected) language. You need to learn the functional style. Why not post some of the personal utility programs to the list and see if we can make them more idiomatic? Personally, I think one of the big issues wrt C++ vs. ocaml is simply the presence of a garbage collector and real strong static type checking. The productivity increases are as much in the form of reduced debugging time as they are in the form of fewer lines of code. However, higher-order functions can give you a substantial savings in code size. Mike > From: Oleg <oleg_inconnu@myrealbox.com> > Date: Mon, 8 Jul 2002 15:53:26 -0400 > > Hi > > As part of learning O'Caml I was rewriting small personal utility programs > from C++ to O'Caml and I have not seen any productivity improvement so far. > Possibly, this is because I essentially use the same imperative style or > because my knowledge of O'Caml is rudimental or because there is no > productivity enhancement, at least for the programs I was translating or for > small programs in general. > > What are the _simplest_ examples that demonstrate considerable (> 2:1) O'Caml > vs C++ productivity improvement (in terms of program size) and where can I > find them? > > Thanks > Oleg > > P.S. Just trying to stay motivated. ------------------- 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