3 ms·
It is often easy to make code cleaner even in a corporate setting: improve/update comments, reformat, add keywords that clarify the intent (const, private, ...)
by jerome-jh 7y ago
It is often easy to make code cleaner even in a corporate setting: improve/update comments, reformat, add keywords that clarify the intent (const, private, ...), add explicit checks at the beginning of functions instead of letting them fail later in their body, remove duplicate code, split functions.
If you do it in a separate change/commit, it should be welcome.
I am not talking of refactoring: that is a completely different story, and requires extensive testing, long reviews...