Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Subclass A Control
Message
From
07/04/2009 09:13:01
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01392835
Message ID:
01393593
Views:
67
>>>In fact you never use a base class if you can help it. You inherit not cut and paste if you want to change/modify functionality.
>>
>>This seems contradictory. Can you explain?
>
>I don't think Bernard meant you should never use base classes. I think he meant if you want to change the functionality you should inherit rather than cut and paste. (Well, duh).

He says don't use a base class, but to inherit. What will you inherit from? Unless I am missing something that doesn't make sense at all.
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform