Code cleaning refers to the act of writing code so that it cleans up unwanted data structures and other unwanted resources from memory and the filesystem. It is sometimes preserved as a substitute of refactoring code, which includes making the source code itself easier to know, maintain, and change.
Benefits of Code Cleaning
Clearness
It’s relaxed to forget that individual line of code software designers write is possible to be read many times by persons during its lifetime These persons are typically co-workers. They’re hard fixing bugs and adding structures. Therefore, each designer should take attention to the code and generate it as fresh and clear as likely. Developers are like writers, great authors are known for writing files that express a clear, persuasive story. Developers work in a very analogous system, but use classes, namespaces, and procedures instead of words.