Code Smells : The Manual [Part 1]
Code Smells By the definition i found in Wikipedia , code smell is: " In computer programming , code smell is any symptom in the source code of a program that possibly indicates a deeper problem. " We do mistakes while we code. Its very certain. Some of us know about the smell while we code, others don't. But if someone just avoid the common smells in coding, his/her code will be increased a lot in quality. So, to write a quality code, we must know what are the code smells and we MUST avoid it. My personal opinion is, don't be a procrastinator in coding. Remove the smells after a single method or at least after completing a feature. In below these are the code smells that a beginner in coding should know. I will add more explanation to each of the smells in future. [Black circled point is the name of the smell and while circled point is the solution to remove the smell from your code.] Inappropriate naming rename it Comments extract method