As long as you learn proper OO techniques, I see tons of advantages (reuse
mostly) and no disadvantages. If you are clueless in OO, I see tons of
disadvantages (improper inheritance mostly) and few advantages.
The question then is how well you understand OO. If you have a good grasp,
inherit away.
I find that most people getting into .NET inherit too much and do far too
little planning. As there is no easy refactor support at the moment, the
code lives on long after the mistake is noticed. If you do not have time to
properly plan your app, inheritance is more likely to be a problem than a
help.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
**********************************************************************
Think Outside the Box!
**********************************************************************
Dhwanil Shah said:
Hi,
Can someone provide me with a list of advantages / disadvantages of
Inheritance in Visual Basic.NET??