interface (1)

Always Programming to an interface.

With Java, Programming to an interface is often useful and a very common design pattern.  It can make it easier to change code and create different implementations in the future, minimizing impacts to a current implementation.  From my experience though, programming to an interface just to program to an interface is overkill, overkill, overkill.  A […]