<< May 16, 2005 | Home | May 18, 2005 >>

Does It Work?

This conversation sparked itself spontaneously today:

Jonathan: If you see a piece of ugly code, what do you do?

Me: Does it work?

Jonathan: Yes.

Me: Then let it work.

Jonathan: Then why do we refactor?

Me: Does it work?

Kevin: The meaning of work here is more than correctly executing an algorithm. If a piece of new functionality cannot be easily added, then the code does not "work" in a broader sense.