From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA06158; Wed, 20 Jun 2001 15:12:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA06152 for ; Wed, 20 Jun 2001 15:12:30 +0200 (MET DST) Received: from moutvdom00.kundenserver.de (moutvdom00.kundenserver.de [195.20.224.149]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f5KDCUr26523 for ; Wed, 20 Jun 2001 15:12:30 +0200 (MET DST) Received: from [195.20.224.204] (helo=mrvdom00.schlund.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 15ChmX-0003pR-00 for caml-list@inria.fr; Wed, 20 Jun 2001 15:12:29 +0200 Received: from [62.154.173.138] (helo=pc022.bln.elmeg.de) by mrvdom00.schlund.de with esmtp (Exim 2.12 #2) id 15ChkU-0002e3-00 for caml-list@inria.fr; Wed, 20 Jun 2001 15:10:22 +0200 To: caml Subject: Re: [Caml-list] newbie code review? References: <20010619155502.B10341@jean> From: Nils Goesche Date: 20 Jun 2001 15:10:15 +0200 In-Reply-To: <20010619155502.B10341@jean> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 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