The self-discipline of nice code



Sensible code

In different phrases, taking good care of the small and exact particulars will assist to make sure that the large image will probably be taken care of. If you happen to don’t get the little issues proper, the large issues gained’t be proper both.

Writing clear code, similar to sharpening forks, turns into a behavior. Repetition will be seen as tedious, or it may be seen as perfecting a craft. I think that Richie was a greater fork polisher on Friday than he was on Monday. Friday’s forks had been in all probability extra totally polished, extra exactly stacked, and extra effectively cleaned. In the identical approach, good coding habits practiced time and again will result in higher code over time. One particular person’s tedium is one other particular person’s strategy of perfection.

Excellence, after all, is contagious. Richie was tasked with sharpening forks. However he observed that another person was charged with spoons, and others with knives and pots and, most significantly, the meals. Being exact, being thorough, being meticulous—all of this spreads all through a company. If you happen to insist on it, others will change into exact and exacting as nicely, and so they in flip will inspire others. If you happen to set a robust instance, the contagion of high quality will unfold via an entire group.