The WHERE clause quietly picks one meaning; pick the wrong one, and the on-site Forward Deployed Engineer (FDE) pays with customer trust.
Key takeaways
- Polysemous words like "Customer" and "Product" are a recurring source of confusion in software projects; the boundaries between different meanings are usually drawn by departmental culture.
- Don't force the whole company to use a single meaning: give each meaning its own name, assign an owning department, and define a measurable rule.
- A glossary only has value when it lands in column names, metric names, and the semantic layer; sitting on a wiki page nobody reads, it is useless.
Imagine you're in your second week on-site at a retail company. You demo a dashboard called "Completed Orders This Month." The head of sales nods, but the finance director frowns, because the number is higher than what's in her books. The data pipeline has no bug; the two people are simply counting different things under the same name.
Martin Fowler notes that this situation recurs in project after project: polysemous words like "Customer" and "Product" cause endless confusion. For engineers building internal products, the cost is a few extra meetings.
For a Forward Deployed Engineer (FDE) working on-site at a customer, the cost is trust: once people have seen one wrong number, every subsequent number is viewed with suspicion.
The reason to solve this before writing code is simple. Fowler writes that software is bad at handling ambiguity. Humans can say "completed orders" and understand each other through context, whereas a
WHERE status = 'completed'
clause must pick exactly one meaning, and it does so silently, without telling anyone.
Why does one word have three meanings?
Alberto Brandolini, creator of Event Storming, states plainly that terminology is inherently ambiguous: everyone has their own understanding of the same word, because each department has a different perspective and different needs.
An article on the Codurance blog gives an example within a single company: a sales expert and a finance expert may attach two different concepts to the same word.
Fowler also makes a point worth remembering: the boundaries between business contexts are usually not determined by technology, but mainly by human culture—such as which teams work together and which department owns what. Each context may have a completely different model of the same concept.
So your goal is not to win an argument about the "correct" meaning. Three Dots Labs puts it clearly: it is normal for the same word to mean different things in different contexts, as long as the boundaries between contexts are clearly drawn.
The FDE's job is to put every meaning on the table, give it a name, and document the scope where it applies.
One "completed," three numbers
Back to the hypothetical retail company. Sales considers an order complete once the customer's payment succeeds. The warehouse considers it complete only when the goods are scanned out and handed to the carrier. Finance requires that the customer has received the goods, the return window has passed, and there is no refund.
To make it concrete with numbers: suppose 1,000 orders were successfully paid this month, 920 have shipped from the warehouse, and 850 have passed the return window with no refund. Your dashboard counts by payment status, so it shows 1,000. Finance records 850. The gap of 150 orders is not a data error, but a definition error.
Now add a customer service AI agent that answers "Is my order complete?" If the agent interprets the word according to sales' meaning, it will answer "yes" even for an order still sitting in the warehouse. The same definition error, this time reaching the end customer directly.
Once this example is settled, the glossary might look like this:
| Canonical name | Owning department | Measurable rule | Data field | Settled edge cases |
|---|---|---|---|---|
| Paid order | Sales | Payment transaction succeeded | payment_status = 'captured' | When do cash-on-delivery orders count? |
| Shipped order | Warehouse | Has an outbound scan record | shipped_at IS NOT NULL | Partially shipped orders |
| Settled-revenue order | Finance | Delivered, return window passed, no refund | settled_at IS NOT NULL | Orders exchanged for different items |
Note that the word "completed" deliberately no longer appears in this table. From now on, the bare word "completed" must not appear in code, metric names, or the agent's prompts.
Five steps to settle the glossary
The first step is to collect terms. Read tickets, table names, column names, Excel files sent by the customer, and meeting notes, and mark the most frequent nouns. As Fowler warns, the most familiar words—"customer," "order," "product"—are often the most dangerous.
Step two: following Codurance's advice, interview each domain expert separately. Don't ask "What does completed mean?"—everyone will answer in vague generalities. Instead, ask with edge cases: "Does an order with a partial refund count?" "If the customer swapped sizes, what happens to the original order?" It is precisely these cases that reveal the definitions people actually use.
Step three: bring all departments into the same meeting. Three Dots Labs considers Event Storming one of the best methods for discovering and unifying the vocabulary of developers and stakeholders.
When events like "customer paid," "goods left the warehouse," and "return window ended" are posted on a timeline, everyone can see where their own "completed" falls along that line.
Step four: name each meaning and assign an owner. Each meaning gets its own name, a department responsible when the definition needs to change, and a rule a machine can execute. "The order is fine" is not a definition; "has a
settled_at
and no refund record" is.
Step five: write the glossary into the system. Eric Evans calls this endpoint the ubiquitous language: a rigorous language shared between developers and business people, used identically in meetings and in code. Variable names, column names, metric names, and the agent's tool descriptions must all use the canonical names.
Tools can help with this step. dbt's semantic layer lets you define a metric once at the modeling layer, and every business department shares the same definition no matter what tools they use.
When a definition changes, the change propagates to every place that uses it. At Palantir, the Ontology describes the customer's organization with objects, properties, and links. But tools only store definitions; choosing which definition applies remains a matter between people.
Mistakes that kill a glossary early
The most common mistake is adopting the meaning of the loudest voice in the room or of the department paying for the project. The other department won't argue in the meeting; it will quietly keep using its own Excel files, and your system becomes a second system nobody trusts.
The second mistake is keeping the glossary only on the wiki, never bringing it into the code. If the column is still named
is_completed
, an engineer who joins six months later will use it according to whatever meaning they guess.
The third mistake is freezing the glossary. Fowler stresses that language must evolve together with the team's understanding of the domain, so record the date each term was settled and who approved it, and revisit them when the customer's processes change.
Turning this skill into a career advantage
When reading FDE job descriptions, watch for phrases like "domain modeling," "ontology," "semantic layer," or "work with business stakeholders." They signal that this is exactly the skill the company needs.
On your resume, don't write "good at communicating with customers." Write a line with a concrete result, such as settling a set of metric definitions with three departments, eliminating the gap between the dashboard and the finance books.
In interviews, prepare a story about a term that caused two departments to misunderstand each other: how you discovered it, which edge cases you asked about, and where the final definition ended up in the system. A story like this shows that you can handle both data and people, which is exactly what this role requires.
Exercise: one status column, one afternoon
Open the orders or customers table you're working on and run
SELECT DISTINCT
on the status column to list all of its values. Write one edge-case question for each value, such as "Which value does a partially refunded order take?"
Take this list to people from two different departments, then fill the results into a five-column table like the example above. Wherever the two sides' answers disagree is the first row of your glossary.
Wrong code can be fixed in an afternoon. A misunderstood word, once it spreads into every table, every report, and every AI agent's answers, also has to be corrected in your customers' heads. So, before you type the first
WHERE
, nail down what it means.
Was this article helpful?
Thanks for your feedback!
7 sources
- Bounded Context (Martin Fowler) · 2014-01-15
- Ubiquitous Language (Martin Fowler) · 2006-10-31
- Alberto Brandolini on Domain-Driven Design and EventStorming (codecentric) · 2019-10-14
- Talk to the business (Codurance) · 2015-10-26
- Ubiquitous Language (Three Dots Labs Academy)
- dbt Semantic Layer (dbt Docs)
- Ontology overview (Palantir Foundry docs)