Interface (computer science): Interface, Abstraction (computer science), Polymorphism in Object- oriented Programming, Indirection, User Interface, Electrical ... Component- based Software Engineering.
Книга доступна в форматах: fb2 , pdf , epub
An interface is a set of named operations that can be invoked by clients. Interface generally refers to an abstraction that an entity provides of itself to the outside. This separates the methods of external communication from internal operation (for example two different functions written in C language have the same interface if they have the same arrangements of arguments and the same type of return value, but the function body may be implemented in different way), and allows it to be internally modified without affecting the way outside entities interact with it, as well as provide multiple abstractions of itself. It may also provide a means of translation between entities which do not speak the same language, such as between a human and a computer. Because interfaces are a form of indirection, some additional overhead is incurred versus direct communication.