Code Smells: Symptom, Cause, Cure

Working code can still be hard to change, and it usually shows it: a code smell is a symptom you can see, like a cough, that points to a problem underneath; this lesson reads three smells in a food truck's ordering code as a doctor would, symptom, cause and cure, and shows why not every cure is a pattern.

By

Updated

Cheat sheet: Code Smells: Symptom, Cause, Cure
Category
Data Structures
Level
Apprentice
Tags
Code Smell, Duplicated Code, Extract Method, Large Class, OOP, Refactoring, Repeated Switch, software-development