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 »

  1. The report offers confirmed useful to me. It’s very useful
    and you really are obviously extremely well-informed of this
    type. You have exposed our eye for you to numerous opinion of this subject with interesting and strong written content.

    Comment by Meridia | April 28, 2013 | Reply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: