program-to-interface-not-implementation

Status: IN

The GoF's first principle of reusable OO design is 'Program to an interface, not an implementation': declare variables in terms of abstract class interfaces, not concrete classes.

Source: entries/2026/06/17/gof-oo-chunk-3.md

Depended on by

JSON