Refactoring is another way of improving the functionality and quality of existing code. From what I understand about it is, it prevents you from duplicating code while maintaining the same functionality and behavior of the site. This is a great way to improve your skills as a programmer. Below are a few links you can check out: