Smells In Legacy Code, A Scavenger Hunt
Smellections Introduction
Smellections is the world's smelliest collection classes. It was created by Industrial Logic's Joshua Kerievsky to
help people learn about code smells and refactoring. Smellections includes several classes, including
a List, Set and Map class:The code (which you can study on the following page) is utterly filled with smells! We call this a Scavenger hunt because you are
going to go looking for smells in Smellections.AdviceTo get the most out of this exercise, please take your time! Some folks spend over 30 minutes studying the code before deciding which smells go where.
(Reading...)
Formatting Hints:
To format... | use this markup: |
---|---|
source code | {source:lang=java|lineNumbers=false}...{source} (Supported languages: java, cpp, csharp, c, python.) |
bold text | __some text__ |
italicized text | ~~some text~~ |
underlined text | @@some text@@ |
a method or class name | ``myMethod(...)`` |