A magic number is a number that appears in your code without any clear explanation or justification.
Why Magic Numbers are BadA duplicate code smell is when you have the same code repeated multiple times in your project.
Why Duplicate Code is BadA feature envy smell is when you have code that is trying to access the attributes or methods of another class.
Why Feature Envy is BadStay tuned prophets, more smells coming soon...
Back to Cyndi's Code Critic Techniques Code Smells