Added Colon to Examples (#25152)

pull/25146/head
Neshar89 2018-11-28 13:56:23 +01:00 committed by Aditya
parent 1391626232
commit baf954931e
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ A Code Smell in computer programming is a surface indication that there might be
It is important to understand that smelly code works, but is not of good quality.
#### Examples
#### Examples:
1. Duplicated code - Blocks of code that have been replicated across the code base. This may indicate that you need to generalize the code into a function and call it in two places, or it may be that the way the code works in one place is completely unrelated to the way it works in another place, despite having been copied.
2. Large classes - Classes having too many lines of code. This may indicate that the class is trying to do too many things, and needs to be broken up into smaller classes.
3. [Magic numbers](https://en.wikipedia.org/wiki/Magic_number_(programming)) - Variables (or `if` statements) scattered in the code that hold numeric values with no apparent meaning.