Code smell is a way to describe code that hasn’t aged well and has the potential for issues. It usually is the source of a lot of hot fixes or workarounds keeping it functional. After a decade of programming, here are my 7 steps to reduce code smell gradually.
Table of contents
Step 0: Admit there is a problemStep 1: Identify spots to cleanStep 2: Pick the worst spotStep 3: Resist the urge to do everythingStep 4: Make sure it’s betterStep 5: Don’t immediately give upStep 6: Use the co-worker bobbleheadStep 7: Publish or throw in the towelRinse and repeat6 Comments