About 255,000 results
Open links in new tab
  1. oop - What is the definition of "interface" in object oriented ...

    May 19, 2010 · An interface promises nothing about an action! The source of the confusion is that in most languages, if you have an interface type that defines a set of methods, the class that …

  2. What does it mean to "program to an interface"? - Stack Overflow

    Dec 21, 2008 · Coding to an interface is a philosophy, rather than specific language constructs or design patterns - it instructs you what is the correct order of steps to follow in order to create better software …

  3. java - Coding to interfaces? - Stack Overflow

    I want to solidify my understanding of the "coding to interface" concept. As I understand it, one creates interfaces to delineate expected functionality, and then implements these "contracts" in co...

  4. oop - How do I implement interfaces in python? - Stack Overflow

    There are third-party implementations of interfaces for Python (most popular is Zope's, also used in Twisted), but more commonly Python coders prefer to use the richer concept known as an "Abstract …

  5. What does it mean to program to an interface? - Stack Overflow

    Mar 24, 2022 · Coding to an interface is a philosophy, rather than specific language constructs or design patterns - it instructs you what is the correct order of steps to follow in order to create better software …

  6. How do you declare an interface in C++? - Stack Overflow

    Nov 26, 2008 · The whole reason you have a special Interface type-category in addition to abstract base classes in C#/ Java is because C#/Java do not support multiple inheritance. C++ supports multiple …

  7. design - Understanding "programming to an interface" - Software ...

    Programming to an interface means that when you are presented with some programming interface (be it a class library, a set of functions, a network protocol or anything else) that you keep to using only …

  8. What does "program to interfaces, not implementations" mean?

    Jan 23, 2016 · Interfaces are just contracts or signatures and they don't know anything about implementations. Coding against interface means, the client code always holds an Interface object …

  9. What exactly is "interface based programming"? - Stack Overflow

    4 What you refer to as "interface based programming" is more commonly referred to as programming to an interface. Here is an example below. The benefit is hiding the actual implementation of the …

  10. OOP and interfaces in C - Stack Overflow

    You can then have the interface struct embedded in your data object struct and pass the interface pointer as first parameter of every interface member function. In that function you then get the pointer …