The DRY Principle: What is it and how to apply it
There is a common saying in the software development field: “Repetition is the root of all software evil.” The more you repeat yourself in code, the more likely you are to make mistakes or cause yourself issues down the line when you come to update things. The aim is to keep things DRY!