Re: How's dot.net doing nowadays?



On Jan 19, 11:03 pm, Robert Morley <rmor...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
in time when they appear to be unused." LOL

That said, though, I would agree with your basic premise. Then again, I
loved OOP almost from the moment I tried it. I just wish VB6 had done a bit
better of a job of it. Its stupid Implements command truly doesn't count
for anything in my books...it's invariably been more trouble than it's worth
in my experience.

Being able to implement an interface rather than inheriting behavior
is more important for Object Oriented programming. If you read through
Design Patterns and other books talking about the structure of object
oriented programming you will see more patterns needing to "implement
an interface" rather than "inherit a behavior".

With that being said, I rather have both but if I could only have one
then interface is the more useful.

.



Relevant Pages

  • Re: Class inheritence & subclassing
    ... Provides a common interface for accessing containers and objects. ... The Design Patterns book is a must-have for OO developers - problem is ... ' IColoredComponent ... Public ReadOnly Property Color() As System.Drawing.Color Implements ...
    (microsoft.public.dotnet.languages.vb)
  • Re: a java design question
    ... > functions as long as they implement the interface and so I dont have to ... > int a; ... instantiating objects is not that expensive. ... using known design patterns enhances the ...
    (comp.lang.java.help)
  • Re: creaping coupling......
    ... > It's problem like your's that give object oriented programming a bad ... intertwine class and interface, instantiation and operation and create an OO ... partitioned subsystem to know about the internal interfaces of all ... It is not inherent in strongly typed languages, only in those (which may be ...
    (comp.object)
  • Re: Basic Concept Question Why Interface?
    ... The answer can be found by digging deeper into Design Patterns. ... Nearly every one of these design patterns REQUIRES the use of interface ... definitions in order to create the concept of a contract where any object ... > void PostInterest(); ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Program to an Interface not an implemetation
    ... >I am looking at the Gang of Four ... > an Interface, not an implementation'. ... book like "Design Patterns Explained" by Shalloway. ... I do not answer questions on behalf of my employer. ...
    (comp.object)

Loading