diff --git a/Code_Smells_Patterns/Magic_Numbers.md b/Code_Smells_Patterns/Magic_Numbers.md new file mode 100644 index 0000000..dad9b0d --- /dev/null +++ b/Code_Smells_Patterns/Magic_Numbers.md @@ -0,0 +1,7 @@ +**Magic Numbers** + +* Force: Refactoring may be possible when it is noticed that there are many hard-coded values and and seemingly random literals scattered throughout the code. + +* Solution: It may be possible to give these vauge "magic numbers" variable names to make the code easier to read, understand, test, and maintain. + +[Back to Index](./index.md) \ No newline at end of file