needscode
Needscode is a hypothetical programming concept used in discussions of minimal dependency models and need-based computation. The term combines "need" and "code" to describe a family of design ideas in which software components declare what they require and what they provide, rather than invoking fixed procedural sequences.
In a needscode model, each module specifies two kinds of declarations: needs, the resources or services it
Example (illustrative only): a module A might declare needs: [network, storage], provides: [data-queue]. A module B
Origins and status: needscode appears in theoretical writings and educational contexts as a way to discuss
Related concepts include dependency injection, modular programming, service-oriented architecture, and declarative configuration languages.