Tuesday, January 7, 2020

When less is more (efficient) ...

Shared my thoughts, a decade back, on how adding more and more code instead of fixing the underlying platform was becoming a norm. Mumbai Vs Software architecture

Now, in last decade, as the prices of Memory, Storage and Processing have further gone down, the overall efforts to write efficient simple code is becoming more rare. Now more of a personal effort rather being part of the SDLC/review processes.

Result - Heavy, inefficient code. This, not just the overloads the build systems, CI/CD pipelines but finally will run on your customers' environments. Forcing them to put more money on the platform/hardware/power which could have been used on better things.

Few months back I did a code check-in:  

No alt text provided for this image
  • Overall functionality: Increased/Improved
  • Overall test coverage: Improved.
  • Total Lines added were Less than Total Lines deleted
  • Total Processing: Reduced. 
  • Overall memory consumption: Reduced. 

Overall ‘time to furnish the call’ : Reduced by 30%

Brought a smile on 'my face' and also the hardware it's running on :) :)