Skip to content

The interface with one implementation

A codebase declares an interface for every class, each with exactly one implementation, in anticipation of future variation.

What is the cost?