Thin Code == Better Product

In working on the enhancements for version 1.1 of our NavPath control, I was able to eliminate a significant portion of the original codebase (with a little help) while at the same time fixing a couple bugs and increasing its functionality. How? Refactoring, of course.

Sure, I could've just bolted more code onto the existing code, but all that does is create a bloated product that's not nearly as elegant and starts to add unwarranted complexity. The code now is simpler, yet more powerful.

Is there anything better than clean, efficient, thin code? I mean, that's what it's all about.

Print | posted on Sunday, May 30, 2004 1:27 PM

Feedback

# re: Thin Code == Better Product

left by Darrell at 5/31/2004 4:25 PM
Changing code is like a ship trying to turn in the water, the less code you have (the smaller your boat), the faster you can change (turn your ship).

Examples, little speedboats can turn in a relatively tight radius within a few minutes, compared to aircraft carriers which take a half-hour and a few miles. :)
Comments have been closed on this topic.