There is a relatively old book which coined the phrase "program to an interface, not an implementation" - its great advice. The reasons why are numerous, suffice it to say it loosely couples things...