Avoid Parallel Hierarchies(www.kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 7 months, 26 days ago

In Implementation Patterns by Kent Beck, he mentions a use of inheritance that can be particularly troublesome: parallel hierarchies. He uses an example of this from an insurance system.

1 comment |category: |Views: 34

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 7 months, 26 days ago 0

A nice example of the power of generics. I think most programmers go no further than generic collections and really miss out on their best use-cases.

Reply

information Login or create an account to comment on this story