[
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: | Nils Goesche <cartan@c...> |
| Subject: | Re: [Caml-list] newbie code review? |
leary@nwlink.com writes: > If anyone would care to amuse themselves, I've posted a (nicely > highlighted, thanks to ocamldoc) copy of my first ocaml program to the web, > and I'm looking for some feedback on what I'm doing wrong, poorly, > inelegantly, the hard way, etc. (My identing isn't consistent, I think; > let me know which is preferred :) > > I'm going to be changing it so the robot has different modes, depending on > circumstance, but that's more about program design than language usage. > > http://www.nwlink.com/~leary/bot.ml Keep trying ;-) Just write lots of code, and your code will improve automatically. Read some libraries and learn from them. As for indentation, check out http://caml.inria.fr/FAQ/pgl-eng.html Regards, -- Nils Goesche "Don't ask for whom the <CTRL-G> tolls." PGP key ID 0x42B32FC9 ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr