Interface vs Delegate - What's the difference?
interface | delegate |
The point of interconnection between entities.
(chemistry, physics) A thin layer or boundary between different substances or two phases of a single substance.
(computing) The point of interconnection between systems or subsystems.
(computing) The connection between a user and a machine.
(computing, object-oriented) The connection between parts of software.
(computing, object-oriented) In object-oriented programming, a piece of code defining a set of operations that other code must implement.
to construct an interface for, to connect through an interface
to be an interface, to be into an interface
a person authorized to act as representative for another; a deputy
a representative at a conference, etc.
(US) an appointed representative in some legislative bodies
(computing) a type of variable storing a reference to a method with a particular signature, analogous to a function pointer
to authorize someone to be a delegate
to commit a task to someone, especially a subordinate
(computing, Internet) (of a subdomain) to give away authority over a subdomain; to allow someone else to create sub-subdomains of a subdomain of yours
As a noun delegate is
a person authorized to act as representative for another; a deputy.As a verb delegate is
to authorize someone to be a delegate.interface
English
(wikipedia interface)Noun
(en noun)- Public relations firms often serve as the interface between a company and the press.
- If water and oil are mixed together, they tend to separate, and at equilibrium they are in different strata with an oil-water interface in between.
- The surface of a lake is a water-air interface .
- The data is sent over the air interface to the remote system.
- The options are selected via the user interface .
- This interface is implemented by several Java classes.
- The Audio and Video classes both implement the IPlayable interface .