The Boy Scout Rule¶
Always leave the campground cleaner than you found it!
Speaking about code, this means if you find something messy, take the time to clean it up. But a word of advice: limit the cleanup to the area you're working on currently or you'll go down a CGL fix rabbit hole.