A Techno Blog, mainly about Java

Composition Over Inheritence Rules

We should avoid inheritance if we can.  Just like this post says:

The difference between is-a and has-a relationships is well known and a fundamental part of OOAD, but what is less well known is that almost every is-a relationship would be better off re-articulated as a has-a relationship

Other good practice that was mentioned in software was

September 14, 2010 Posted by | Web Design | 1 Comment