December 2017
Intermediate to advanced
468 pages
13h 12m
English
A model acts as a universal language to manage communication between software developers and domain experts. The following table shows the example of ubiquitous languages and their equivalent pseudo code:
|
Ubiquitous language |
Equivalent pseudo code |
Comments |
|
We administer vaccines |
AdministerVaccines {} |
Not a core domain—need some more specific details |
|
We administer flu shots to patients |
patientNeedAFluShot() |
Better, may be missing some domain concepts |
|
Nurse administers flu vaccines to patient in standard doses |
Nurse->administer vaccine(patient, Vaccine.getStandardDose()) |
Much better, and may be good to start with |
Read now
Unlock full access