Skip to content

Glossary: Software Engineering

Every term Software Engineering defines, from A to Z, with the section that teaches it. A section that uses a term from elsewhere, in this book or another, also lists it under “Concepts from other sections” at the top of the page.

238 terms

  • Data race: two accesses to the same memory from different goroutines, at least one a write, with no happens-before order between them. Taught in 6.2 Code review
  • Data-flow diagram (DFD): a diagram of external entities, processes, data stores, the flows between them, and trust boundaries. Taught in 9.1 Threat modeling with STRIDE
  • Decorator: a wrapper with the same interface as the thing it wraps, adding behavior before or after delegating. Taught in Chapter 4: Coding and Design Patterns
  • Default version: the operator-configured version used when the header is absent, and the rollback switch for the migration. Taught in 8.2 Interface migration: API v1 to v2
  • Dependency policy: the human-maintained list of what may be used (allowed-deps.toml), against which each SBOM is reviewed. Taught in 9.2 SBOM and supply chain
  • Deployment diagram: the C4 supplementary view that maps logical containers onto infrastructure nodes, such as Kubernetes objects; it bridges architecture and operations. Taught in Chapter 11: Diagramming with the C4 Model
  • Deprecation: announcing that an interface will be removed, with a replacement and a timeline, before removing it. Taught in 7.2 Deprecation policy
  • Deprecation and Sunset headers: HTTP response headers that announce, in band, that an API is deprecated and when it will be removed. Taught in 7.2 Deprecation policy
  • Deprecation header: RFC 9745, @<unix seconds>, announcing that the response’s contract is deprecated. Taught in 8.2 Interface migration: API v1 to v2
  • Design by contract: specifying a function’s preconditions, postconditions, and invariants. Taught in Chapter 1: The Pragmatic Programmer
  • Design pattern: a named solution to a recurring design problem, recognized rather than copied. Taught in Chapter 4: Coding and Design Patterns
  • Diagrams as code: diagrams kept as text source (here D2) that diff in review and compile in CI. Taught in 11.1 C4 diagrams in D2
  • Diamond dependency: two dependencies of a project require incompatible versions of a shared third dependency. Taught in Chapter 2: Software Engineering at Google
  • Diátaxis framework: Daniele Procida’s classification of documentation into four types (tutorial, how-to guide, reference, and explanation) from two axes: whether the reader is studying or working, and needs practical steps or theory. Mixing types in one document is the most common documentation failure. Taught in Chapter 12: Documentation Writing
  • Diátaxis index: a table of documents sorted by reader goal into tutorial, how-to, reference, and explanation. Taught in 12.2 Runbooks and Diataxis docs
  • Differential test: a check that two implementations of the same contract agree on generated inputs. Taught in 3.3 Oracles, golden and differential tests, gradcheck as a test
  • Documentation as code / docs as code: treating documents like source: versioned in the repository and changed in the same pull request as the code, reviewed, tested (runnable samples, linted prose, checked links), generated where possible, and deprecated deliberately. Taught in Chapter 12: Documentation Writing
  • DRY: every piece of knowledge has a single, unambiguous representation in the system. Taught in Chapter 1: The Pragmatic Programmer
  • Durability: a call that returned success is on disk and survives a crash. Taught in 3.7 Resilience tests
  • Next Generation Access Control (NGAC): NIST’s model of users, objects, and attributes as nodes in a directed policy graph, where a privilege holds if it is derivable by traversal; RBAC and ABAC are special cases of it. Taught in Chapter 10: Authorization and Access Control
  • NOASSERTION: the SPDX value meaning the document makes no claim about a field. Taught in 9.2 SBOM and supply chain
  • Non-Disclosure Agreement (NDA): an agreement defining confidentiality obligations for information shared between parties. Taught in Chapter 13: Engineering Acronyms
  • Unrepresentable invalid state: a type design, such as a union of named values, under which the compiler rejects values the domain does not allow. Taught in Chapter 5: Lessons from Practice