[Shootout-list] Re: Ray tracer
Jon Harrop
jon@ffconsultancy.com
Sun, 19 Jun 2005 03:01:30 +0100
On Sunday 19 June 2005 02:14, Stephen Weeks wrote:
> Only the LOC will suffer.
Not if we're using the soft 100 LOC limit => only mine gets optimised.
> An understandable program is much better than a short program. One
> reason I rewrote your raytracer program is so that I could understand
> it. All the usual ML features (abstract types, modules, etc.) helped
> immensely, and I think would help others to understand the program as
> well.
Yes. I think comments are the most important thing. I'll comment the short
OCaml version ASAP.
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists