Tag: Code Smells
Does Your Architecture Smell?
Disclaimer: Here is the original source of the article. Reproduced here with permission. Kent Beck coined the term “code smell” in the popular Refactoring book by Martin Fowler and defined it informally as “certain structures in the code that suggest (sometimes they scream for) the possibility of refactoring”. An excessive […]
Common (and Uncommon) Smells in Java Code
Smells are structures in code that violate design principles and negatively impact quality. Here are some of the bad smells in Java code. Constant Interface Constant interfaces have only static final data members declared in them without any methods. Suggested refactoring for this smell depends on kind of constants present […]