[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is a Cow an Animal?



Based on this quite interesting stuff
  http://www.visviva.com/transframe/papers/covar.htm
and also
  http://pauillac.inria.fr/~remy/work/virtual/virtual005.html

I made
  http://merd.net/pixel/language-study/various/is-a-cow-an-animal/

For now, there are some quite nice OCaml versions, some ugly C++ one, and some
classical Python/Ruby.

The aim is *not* know if the problem/rules are intelligent/nice.
Only to know _how_it_can_be_solved_ in various languages
(and note that OO is not the only way to solve it)


I'd be especially interested to know if MrSpidey would catch the errors :)


thanks!

--
Pixel
programming languages addict      http://merd.net/pixel/language-study/