Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Frustrated Beginner
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-12-23 (06:20)
From: Tom Murray <yozhik@c...>
Subject: Re: [Caml-list] Frustrated Beginner
As a programmer who did imperative and OO for 15+ years, and then 
switched to OCaml this year, I encourage you to stick with it. I think 
it will improve how you write in other languages, too (and Python has 
many functional features, btw).

I agree that the syntax can be frightful, but it seems to be a 
requirement of functional languages.

Some things that helped me:

* Do lots of experimenting in the interactive top-level. If you're an 
Emacs user, get the Tuareg mode. The nice thing about working in Emacs 
is that you can evaluate an expression or two in your file, see what 
happens, make some changes to the expression, repeat.

* I found the O'Reilly book very helpful. It doesn't assume familiarity 
with the functional way of doing things, like many other write-ups do. 
It's very application-oriented, which will make the examples familiar 
to you. And it has separate chapters for functional, imperative, and 
OO, so you get a feel for the different ways of writing OCaml code. You 
can download the book from

Good luck,


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: