#C# Coding Standards
Embrace refactoring! Make code refactorable by adding tests using TDD. Really TDD exists to allow refactoring.
The term code smell comes from Martin Fowler's book Refactoring. If you haven't already, read this book. The examples are in Java but they easily translate to C#. Don't write new code that has smells by refactoring them out. Here is a list of the most egregious smells:
- Duplicated code.
- Long Method.