Browse thread
Subtyping
[
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: | 2009-04-07 (13:39) |
From: | Peng Zang <peng.zang@g...> |
Subject: | Re: [Caml-list] Subtyping |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 07 April 2009 03:41:32 am David MENTRE wrote: > Hello, > > On Tue, Apr 7, 2009 at 07:48, Goswin von Brederlow <goswin-v-b@web.de> wrote: > > In the last 2 weeks I've been playing around with lots of different > > ways to do the same thing to get a feel for what style suites me > > best. If you have improvements or alternative ways of doing the two > > things below let me know. > > Well, if you are learning OCaml, I would advise you to read regular > OCaml code, e.g. the standard library. You'll learn The Right OCaml > Style(tm). Certainly reading the standard library is good. Useful for learning techniques, idioms, etc.. I wouldn't say that there is one Right OCaml Style(tm) though. Actually part of why I like OCaml is that it supports imperative, object oriented and functional paradigms and you can switch between them depending on the task. Cheers, Peng -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFJ21eifIRcEFL/JewRAptXAJwPec++ykZ6YjmLuUtdfrZw3IrXEwCbBkeB juGHNPOqJds1rDZd8S1BQEQ= =foQf -----END PGP SIGNATURE-----