Duplicate code If you see the same code structure in more than one place.
Long Method The longer a procedure is, the more difficult it is to understand.
Large Class When a class is trying to do too much.
Long Parameter List Don't pass in everything the method needs; instead you pass enough so that the method can get to everything it needs.
Divergent Change When one class is commonly changed in different ways for different reasons. (You likely have a situation in which two objects are better than one.)
Heads up! When you feel the need to write a comment, first try to refactor the code .so that any comment becomes superfluous.
Thanks for sharing Very Use ful Blog..
ReplyDeleteAzure DevOps Online Training
Microsoft Azure DevOps Training Courses
Microsoft Azure DevOps online Training in Hyderabad
Microsoft Azure DevOps Training
Azure DevOps Online Training in Hyderabad