10 Oct 2020 - fubar - Sreekar Guddeti
Continuous code development, when not following the principles of code refactoring, can lead to software bloat. Code refactoring is a programming practice to avoid software bloat and also improve code maintainability and reusability.
From Martin Fowler webpage, refactoring is defined as
In the book, I make the following definition of “refactoring”
noun: a change made to the internal structure of software to make it easier to understand and cheaper to modify without changing its observable behavior
verb: to restructure software by applying a series of refactorings without changing its observable behavior.
From Wikipedia article on Code Refactoring
Replace conditional with polymorphism