The interface of a module is what its users may rely on: the names it offers and, for each, a specification. The implementation is the code that keeps these promises, and everything else in the module: helpers, data structures, imported modules.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Interface, implementation?
又称: interface · implementation · interface (of a module) · implementation (of a module)
The interface of a module is what its users may rely on: in C, the declarations of its header and the comments that state their contracts. Its implementation is everything else: the definitions in its .c file, which may change without any user changing.