Re: Interface-based programming

From: Patrick Kristiansen (patrick_at_sixulon.dk)
Date: 09/26/04


Date: 26 Sep 2004 02:12:29 -0700

Funny. After having read most of Juval's book, I constantly tumble
across things involving interfaces or I try to extend the use of
interface to real life. My brain is fried.

Today the tumble was across a blog entry that compares interfaces and
abstract classes to the Peter Sellers movie "Dr. Strangelove". I just
thought I wanted to post the link here.

http://blogs.msdn.com/FinServGuy/archive/2004/09/25/234340.aspx

Regards,
Patrick

patrick@sixulon.dk (Patrick Kristiansen) wrote in message news:<457dae9b.0409250801.16533a2d@posting.google.com>...
> Hi group!
>
> I've been reading Juval Löwys "Programming .NET Components", and I
> think it is a very good book, giving nice guidelines on how to really
> exhaust the possibilities of .NET in general.
>
> Juval Löwy is indeed an advocate of using interface-based programming
> (he wrote a chapter dedicated to it, and he's using it througout the
> book).
>
> I have one simple question. When designing your own components, is it
> true - according to the rules of interface-based programming - that
> you should create interfaces for your clients to use, and advertise
> for them to do so? So every time I design a class, it should have a
> corresponding interface?
>
> Regards,
> Patrick



Relevant Pages

  • Re: Not sure what to title this?
    ... Joe wrote: ... On the "interfaces" tab what ... Best regards, ...
    (microsoft.public.windows.server.dns)
  • Re: Modules & positive surprises
    ... regards to what they can actually do -- too be perfectly honest, ... very rare that I become impressed by the _interfaces_ to the modules. ... and unfortunately that's not how module developers do it. ... Yesterday I found another module which I fell in love with: Python ...
    (comp.lang.python)
  • Re: Hardware to test (FPGA-based) prototype?
    ... There's not much good designing a highly testable board that doesn't ... synchronous interfaces are very ... >test high-speed cards and interfaces? ... You could try to obtain a used DAS9200 or TLA510 system with a pattern ...
    (comp.arch.embedded)
  • Modules & positive surprises
    ... regards to what they can actually do -- too be perfectly honest, ... very rare that I become impressed by the _interfaces_ to the modules. ... and unfortunately that's not how module developers do it. ...
    (comp.lang.python)
  • Re: Programming to an Interface
    ... printing of »Applying UML and Patterns«, where Craig Larman, ... Designing interfaces first is a great goal. ... In such cases the discovery of interfaces can come late rather than early. ...
    (comp.object)