Have you heard about Boy Scout Rule ?
I am sure that you would have implemented it many times before.
Let’s see what exactly it says :- Always leave the code cleaner than you found it- Encourages continuous…