DDD by Its Own Rules
Domain-Driven Design has one rule above all others: use the language of your users, not an artificial, technical one. Earlier this month, at the Software Architecture Gathering 2026 in Berlin, I applied that rule to DDD itself – and found that some of its most famous terms would never have survived it. Ubiquitous Language, Bounded Context, Aggregate: by DDD's own standard, each of them is exactly the kind of jargon it tells you to avoid.
This post is the written version of that talk, for everyone who couldn't be in the room. The talk's title, "If You Apply DDD to DDD, You Won't Get DDD," may sound familiar: a year ago, I wrote a post with the same name, about how the vocabulary of DDD scares people away and how its patterns became a hiding place from the human work they were meant to support. The talk took that thought further, term by term. One thing up front: I like DDD. This is criticism from the inside, not from the outside. And it starts with a simple question: who are DDD's users?
The Rule at the Heart of DDD#
If you boil Domain-Driven Design down to a single sentence, it is the rule I started with. Listen to the people who use the software, adopt their words, and resist the urge to graft a technical vocabulary onto their domain. Everything else – the patterns, the building blocks, the diagrams – comes after that.
Now, a thought experiment. DDD is a product, too. It has users. So what happens if we apply its rule to DDD itself?
The first question is who those users are. For your software, they are the domain experts: the people in sales, in claims handling, at the library counter. Their language is what counts. For DDD, the users are developers. They are the ones who have to apply it, day after day. And for them, technical words aren't the foreign ones – they're their own. The foreign ones are the words you only find in books.
| Your software | DDD itself | |
|---|---|---|
| Its users | domain experts | developers |
| Their language | is what counts | should be what counts |
So by DDD's own logic, the language of developers should be what counts – not the language of consultants, and not the language of book authors. If DDD had followed its own rule, many of its core terms would never have made it. Let's look at three of them. If you brought any of them into a domain model, a good DDD practitioner would send you back to the drawing board.
Ubiquitous#
Ubiquitous: present, appearing, or found everywhere. It's a perfectly fine word, but when did you last use it in a conversation outside of a discussion about DDD? It isn't a word developers use. It's a word you find in books.
That's the irony: the very first term of DDD is the kind of vocabulary DDD tells you never to impose on your users – imposed on DDD's users.
Ask a team what they would call the language that everybody involved shares, and you get answers like "shared language" or "common language." "Ubiquitous" may say more – that the language is used everywhere within its context, in every conversation, every document, and every line of code, not merely shared. Yet a term that is more precise and less intuitive still loses. Their word wins, even when yours is better.
Bounded, as Opposed to What?#
The second term is Bounded Context. "Bounded" implies that there is such a thing as an unbounded context. There isn't. Every context has boundaries – that's what makes it a context in the first place.
Simply calling it a context would have been enough. It would also have been the obvious choice, because everyone already says that language is context-dependent: the meaning of a word depends on the context in which it's used.
I tried this with developers: you have two areas, each with its own language, and you need to keep them apart – what do you call that? Many of them came up with folders. Put a file named customer into a folder sales/, put another file named customer into a folder support/, and there's no conflict. Same name, two meanings, cleanly apart:
sales/ support/
customer customer
order ticket
invoice contract
A folder that keeps names apart is, in code, something every developer has known for decades, for exactly this purpose: a namespace.
So the words of developers are right there: context, or namespace. Now, I know the objection: a Bounded Context is more than a namespace. It has its own model, and it belongs to a team. True, but look at a namespace in any larger library:
| Bounded Context | Namespace in a library | |
|---|---|---|
| Vocabulary | its own terms | its own names |
| Model | its own model | its own types |
| Ownership | one team | one team |
The objection describes a namespace just as well. Where a Bounded Context does carry more – an explicit translation wherever it meets another one, sometimes a store of its own – those are decisions you make about it, not things its name has to explain. "Namespace" may say less than "Bounded Context," yet it's the word developers already understand. And for the idea behind it, that meaning depends on context, plain "context" would have been enough all along.
Aggregate of What?#
The third term is my favorite: aggregate. A whole formed by combining several separate elements. From a technical point of view, the word isn't even badly chosen: an aggregate does bring together everything one set of business rules depends on. But intuitively, it doesn't tell you what gets aggregated, or why – which makes it one of the most misunderstood concepts in all of DDD.
The usual explanation doesn't help much either: an aggregate is "a transactional boundary." That's absolutely correct – and useless to anyone who doesn't already know what an aggregate is, which makes it a password, not an explanation.
Since neither the name nor the explanation helps, people fall back on what they know: an aggregate must be an object, just like in object-oriented programming. A class that holds a few child objects. That is completely wrong, and it becomes obvious once you learn that DDD works in a functional style, too: the post Decide, Evolve, Repeat writes an aggregate as plain functions, without a single class. The obvious question comes up: how, without objects and classes?
Hold that question. The classic definition even seems to invite the misunderstanding: a cluster of objects, treated as one unit for consistency. But the second half of that sentence is the whole point, and the first half is what leads people astray – into the big-object designs we have all seen, which I've written about in Your Aggregate Is Not a Table.
One Book, One Lane#
A better explanation is actually simple, if you come at it from commands, events, and state, and from the rules they have to obey. It's just rarely given that way, so let's do it.
A command is a wish: "borrow this book." It can be rejected. An event is a fact: "the book was borrowed." It has happened, and nobody can argue with it. State is what follows from all the facts so far: the book is on loan. Commands lead to events, events change the state, and the state decides whether the next command is accepted. For a book, the business rule is simple: a book that is on loan can't be borrowed again.
Now the problem. Alice and Bob both want to borrow book 42, at the same moment. Both commands look at the same state – the book is available – and both are accepted. Two events, one book, two borrowers, and the business rule is broken. Things that influence the same state must not get in each other's way.
So you need to decide what may run in parallel, and what may not. Everything that concerns book 42 has to happen one after another: borrow, return, borrow again. The same goes for book 17, and for book 8. But book 42 and book 17 have nothing to do with each other, so they can run side by side without any problem. Think of each book as a lane: within a lane, one thing happens after another; across lanes, everything runs in parallel.
That is the whole definition: what must run one after another forms an aggregate. Book 42 is an aggregate – not because it's an object, but because everything that touches it has to wait its turn. An aggregate is a rule about execution order, not an object and not a data structure.
As Small as the Rules Allow#
If an aggregate is a rule about execution order, the question of how large it should be almost answers itself: as small as the business rules allow. Which of them have to hold at every single moment, and which may be checked a moment later and compensated, is a business decision, as I argued in Consistency Is a Business Decision – but once it's made, the size follows.
Suppose a member may borrow at most five books at a time. If that limit has to hold at every single moment, a loan has to wait for everything that concerns the member as well as for everything that concerns the book: the member's lane merges with the lanes of their books, and the aggregate grows well beyond a single book. If it may be checked a moment later, and a sixth loan compensated, each lane stays as small as a single book.
In the language of developers, a lane is very close to a lock, or a mutex – as an idea, not as a mechanism: an event store can enforce the order without anyone holding a lock while they decide, by rejecting a write whenever the state it was based on has changed in the meantime. What every developer understands is the question behind it: what must not happen at the same time? You don't need a textbook for that. Measured against that question, the word "aggregate" does more harm than good. If you want to go deeper anyway, the guide to Designing Aggregates shows how preconditions enforce that order in an event store.
Not Even the Basics Are Settled#
Then there are the small things. Is it an event or a domain event? A command or an intent? Do we design aggregates or aggregate roots? Is that a Subdomain or a Bounded Context?
The definitions exist, on paper, and some of the distinctions are real: a Subdomain and a Bounded Context are not the same thing, as Two Maps, One Domain explains. But that difference is hard to grasp when you're starting out, and its practical consequences hardly matter at that stage – they tend to show up years later.
In practice, ask five DDD practitioners, and you get six answers – and each of them will tell you that the others are using the terms wrong. Some of the same questions – event or domain event, command or intent – came up at the Event Modeling Conference this summer, as I wrote in Too Many Islands, Too Few Bridges.
That's the contradiction. On one side, DDD picked the most academic terms possible – elevated, far-fetched, and remote from the everyday language of most developers. On the other side, it never managed to agree on its simple ones.
From Communication to a Pattern Catalog#
This is where the real damage happens. Because the terms are so abstract and hard to grasp, people hold on to what they can grasp: the patterns. Shared Kernel, Anti-Corruption Layer, Open Host Service, Published Language, Customer/Supplier, Conformist, Partnership, Separate Ways, Context Map, Entity, Value Object, Repository, Factory, Domain Service, Specification. Many believe that this is where DDD lives, and that they need all of them.
Meanwhile, what DDD is actually about fades into the background: communication, empathy for the people whose work you model, shared understanding, and a common language. None of this is a pattern, and none of it fits into a catalog.
Instead, the catalog gets worked through, and the more patterns are in use, the more people feel that they're doing DDD. The patterns are by far the least interesting part of DDD. They are comfortable, though. Some of them, the relationships on a context map such as Customer/Supplier or Conformist, could even pull you into conversations – if you used them as questions about people rather than as boxes to tick. Worked through as a checklist, every one of them becomes a place to hide: back in your own technical corner, where it's cozy, without ever having to talk to anyone from the business. Which is the exact opposite of what DDD wanted.
We have seen this before, with design patterns. Take the Observer: its intent is to let an object announce its changes without knowing who is interested in them. The sample code in the Gang of Four's Design Patterns is one way to implement that intent. People mistake the sample for the pattern, and copy its interface and class instead of the idea:
interface Observer {
update(): void;
}
class Subject {
attach(o: Observer) { … }
detach(o: Observer) { … }
notify() { … }
}
In a language where functions are values, the same intent fits into a list of callbacks that you call whenever something changes. The interface and the class are how the book happened to show it, not what the pattern is. Everybody has seen this mix-up, and some of us have made it. Last year's post called the same thing in DDD pattern theater.
Twenty Years in a Niche#
Put all of this together, and it's no surprise that DDD hasn't made it out of its niche in more than twenty years. Not fringe – the community is substantial, experienced, and growing – but not the default either: it isn't what ships with every framework or gets taught in every bootcamp. Eric Evans' book came out in 2003. Compare that with how quickly other ideas spread, such as agile, DevOps, or microservices.
Then there's the culture. I'm saying this with a wink, and I'm including myself: too many of us in the DDD community celebrate ourselves, and we come across with a certain arrogance. It often reminds me of Usenet in the late 1990s, where every Linux question from a beginner got the same answer: "RTFM," read the manual. From the very first page, DDD gives people the feeling that they're too dumb for it. That's not a great way to win anyone over.
Winning people over matters, though, because DDD isn't an end in itself. If we want the idea behind it to spread, it's time to think about how to reach the goal of DDD better than with the academic, textbook approach we've had so far.
DDD Through the Back Door#
I think there is a way out, and it comes through the back door. If you do DDD, Event Sourcing is a natural next step. If you do Event Sourcing, DDD is very close.
Look at the life of a single library book, told twice:
Technical: created → updated → updated → updated → deleted
Domain: acquired → borrowed → returned → borrowed → reported lost
Created, updated, updated, updated, deleted – what happened? No idea. You've stored data, but you've lost the meaning. Acquired, borrowed, returned, borrowed, reported lost – now you know exactly what happened, and you can ask questions you didn't think of when you designed the system. Only one of the two is a story.
This is why, with Event Sourcing, it makes little sense to call your events created, updated, and deleted. Without domain terms, there are no semantics, and without semantics, Event Sourcing is pointless. The semantics are in the verbs.
With Event Sourcing, you end up telling a story – the point of my talk at the Software Architecture Gathering last year, ... And Then the Wolf DELETED Grandma. That doesn't make the names good by itself: plenty of teams start out with UserCreated and OrderUpdated, as I described in Don't Kill Your Users. But it makes bad names obvious: a stream that says updated three times tells you nothing, and a story with "updated" in it is simply a bad story. Push a team to tell it properly, and sooner or later they have to ask the people who live that story what actually happens – and they come back with meaningful, domain-specific verbs. That is already most of what DDD is about: the conversation, and the language that comes out of it. Nobody had to explain DDD to them for it.
How We Do It#
Briefly, here is how we work this way at the native web, the company behind the Event Foundation. EventSourcingDB stores the story: it's a database built for Event Sourcing, and it's ours – a commercial, closed-source product that is free up to 25,000 events. ESDM, the Event-Sourced Domain Modeling language, holds the model – aggregates, events, commands, and Bounded Contexts – as files next to your code; it's open source, under the MIT license. Around both sit the tools: the ESDM CLI for the model; for EventSourcingDB, the client SDKs, ArchitectureKit for DDD, CQRS, and Event Sourcing in Go and Rust, and an MCP server for language models.
This is what a command looks like in ESDM: what it acts on, the data it carries, and the event it publishes as a result.
apiVersion: schema.esdm.io/core/v1
kind: command
name: acquire
scope:
domain: library
boundedContext: cataloging
aggregate: book
data:
type: object
properties:
title: { type: string }
author: { type: string }
isbn: { type: string }
required: [title, author, isbn]
publishes:
- acquired
Yes, the keys still say boundedContext and aggregate, and a Bounded Context in ESDM can even keep a ubiquitousLanguage. That's a compromise, and a deliberate one: these are the names you'll meet in every tool and every conversation about DDD, and a format that renamed them would leave you translating in both directions. But the keys are only the frame. Look at the values: library, cataloging, book, acquire, acquired. That's the domain speaking, and writing them took no lecture on Ubiquitous Language.
The ESDM CLI checks the file against the schema and the modeling rules, in a pull request, like any other code. With Event Sourcing and a modeling language that speaks in events, you do DDD without having to study DDD first.
An End in Itself#
Let's go back to the rule we started with: use the language of your users, not an artificial, technical one. We wanted DDD because technology is not an end in itself – the domain belongs at the center. Held to its own rule, DDD needs fewer special words, not more. It needs the words developers already have, and a way of working that makes them tell the story of their domain in its own terms. If you'd like to see what that feels like, Your First Model by Hand has you write a small library model yourself, including the acquire command above, and check it with the ESDM CLI – no DDD textbook required.
In the end, it's a little ironic: DDD wanted to stop technology from becoming an end in itself – and became one itself.
