# Domain-Driven Design (DDD)

> Code that uses the same words as the business it serves.

**Field:** Software Development  
**Category:** Architecture  
**Also known as:** DDD, Bounded Context, Ubiquitous Language

## Think of it like

Think of it like a builder who learns how a family lives. Then they draw the house.

## Definition

Domain-driven design is a way to build software around the words of the business. Coders and business experts agree on one set of words. The code uses those same words. A big system is split into bounded contexts, areas where each word has one clear meaning. A customer in billing and one in shipping can then be different things. Eric Evans set out the idea in a 2003 book.

## Example

Emma's team works with a shipping firm. Its staff say consignment, not order, so the code says Consignment too. Meetings and code now use the same words.

## Why it matters

Most costly bugs start when two groups mean different things by one word.

## Common mistake

Copying the patterns from the book without talking to the business. The shared words are the point, not the class names.

## Three principles

- **One shared language.** In talk and in code.
- **Bounded contexts.** Each word, one meaning.
- **Learn the business.** Before the code.

## Related terms

- [Software Architecture](https://learn.benibix.com/term/development/software-architecture)
- [Microservices](https://learn.benibix.com/term/development/microservices)
- [Naming Convention](https://learn.benibix.com/term/development/naming-convention)
- [Clean Architecture](https://learn.benibix.com/term/development/clean-architecture)

---

Source: https://learn.benibix.com/term/development/domain-driven-design
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
