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: | -- (:) |
| From: | Goswin von Brederlow <goswin-v-b@w...> |
| Subject: | Re: [Caml-list] Subtyping |
Peng Zang <peng.zang@gmail.com> writes:
> 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.
Exactly. And so far I've been kind of stuck with one or the other so I
wanted to see how things look using different paradigms in ocaml.
> Cheers,
>
> Peng
MfG
Goswin