All posts by Mudit Agarwal

Basics of Restructuring and Refactoring

The code that seems clean and fresh today, will someday begin to smell... Thats when you rewrite it!!! WHAT IS IT? A passionate developer always tries to write clean and quality code. Contrary to that, we often find messy and unstructured code. The transformation from a clean code to a messy code is a natural process where the code 'ages' with time. With time the code gets modified by the same or a different programmer. These later additions to the code are primarily tweaks and fixes. These additions often do not fit with the existing code design and thus are placed with less emphasis... Read More