caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] newbie code review?
@ 2001-06-19 22:55 leary
  2001-06-20 13:10 ` Nils Goesche
  0 siblings, 1 reply; 2+ messages in thread
From: leary @ 2001-06-19 22:55 UTC (permalink / raw)
  To: caml

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

much thanks

-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] newbie code review?
  2001-06-19 22:55 [Caml-list] newbie code review? leary
@ 2001-06-20 13:10 ` Nils Goesche
  0 siblings, 0 replies; 2+ messages in thread
From: Nils Goesche @ 2001-06-20 13:10 UTC (permalink / raw)
  To: caml

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-20 13:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-19 22:55 [Caml-list] newbie code review? leary
2001-06-20 13:10 ` Nils Goesche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).