I have been trying to figure out what is meant by a magic number and how they should be implemented, but I can’t get my head wrapped around it. I understand that magic numbers are values that are implemented by a variable, but not how this should be done. I also understand that they are numbers in your code that are above 2. Why is it necessary top worry about them?
Thanks for the help!