Re: Is this too much OOP?




Bruno Desthuilliers wrote:
needin4mation@xxxxxxxxx a écrit :
Beginner OOP Question.

I wanted to know if real designers that know OOP - that really use it
to create applications - use the models found in books.

For example, I am writing a web application with asp.net c#. It will
handle employee data. In books I usually see the example that there is
a base employee class. From that class, a specialization is done when
a Manager or line staff employee derives from the employee class.

Burn that book. This is one of the most braindead examples of subtyping.

I've met some OO proponents who have defended that technique. However,
they are probably not the majority of OO proponents.

-T-

.



Relevant Pages

  • Re: Is this too much OOP?
    ... to create applications - use the models found in books. ... I am writing a web application with asp.net c#. ... a Manager or line staff employee derives from the employee class. ...
    (comp.object)
  • Re: Is this too much OOP?
    ... to create applications - use the models found in books. ... a Manager or line staff employee derives from the employee class. ... is the best way to screw every design effort before it really starts. ... database ALSO has this kind of datarelations. ...
    (comp.object)
  • Re: Is this too much OOP?
    ... I wanted to know if real designers that know OOP - that really use it ... to create applications - use the models found in books. ... a Manager or line staff employee derives from the employee class. ...
    (comp.object)