Enforce Ubiquitous Language
Motivation
Whenever the code uses bad names, obscure technical names, strange abbreviations, or names that do not reflect your current understanding of the domain—change them accordingly. This is part of DDD’s philosophy of “Refactoring Towards Deeper Insight.”
Mechanics
- When the code uses the wrong words apply Rename Class, Rename Method, Rename Field, Rename Variable and the like to the source code.
- For the data model use Rename Table, Rename Column, and Rename View.
- Change the user interface accordingly.