Determining what is and is not a "code smell" is subjective, and varies by language, developer and development methodology. Before you ask if some technique is a "code smell," ask yourself what the consequences to your specific project would be, if you used the technique. Simply asking whether something is a "code smell" or not is too subjective.

Determining what is and is not a code smell is subjective, and varies by language, developer and development methodology.

Before you ask if some technique is a "code smell," ask yourself what the consequences to your specific project would be, if you used the technique. Then, ask about those specifics. Simply asking whether something is a "code smell" or not is subjective, and increases the likelihood that your question will be closed.

history | excerpt history