Hello --

On Sat, 4 Aug 2001, Tobias Reif wrote:

> >         2. Your "bad" code must actually work.  Its "badness" should
> >            reside in its design, appearance, lack of elegance,
> >            inefficiency, and unidiomatic approach to the Ruby
> >            language.  (Getting the idea? :-)
>
> The improved versions have to  have all the same features and logic as
> the initial version.


Features, anyway (maybe not logic).  The original version should
include some tests/demos, which the improved versions will have to
pass with identical output.  Obviously this doesn't ensure identical
behavior in all circumstances, but it allows the programmer of the
original code to stipulate what the defining behavior of that code
is.


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav