Chapter 2. Communication And The Use Of Language Flashcards

1
Q

When the meaning of a term changes in discussion, this should result in….

A

A change in the model (names of classes, method, and/or behavior).

DDD, p. 26

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
The vocabulary of a ubiquitous language includes:
Names of \_\_\_\_\_\_\_ and prominent \_\_\_\_\_\_\_
Terms to discuss \_\_\_\_\_\_\_
Terms from high-level \_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_
Names of \_\_\_\_\_\_\_\_\_
A

classes / operations
rules
organizing principles
patterns

DDD, p. 25

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The essence of the ubiquitous language approach is to use ________ as the backbone of a _________.

A

model as the backbone of a language.

DDD, p. 26

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You can informally test the model by ____________ , using the model objects step-by-step.

A

Walking through scenarios

DDD, p. 33

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

One practical piece of advice about using a ubiquitous language is to ______ with the model as you talk about the system. Find ______ to say what you need to say and take those new ideas back down to the _______ and _______.

A

Play with the model
Find easier ways
diagrams / code

DDD, p.32

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

With UML, the attributes and relationships are only half the story of an object model. Two things not so easily illustrated are the ______ of those objects and the _____ on them.

A

behavior
constraints

DDD, p. 35

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

According to Evans, where is the vital detail about a design captured?

A

In the code. The code can serve as a repository of the details of the design. Well written java is as expressive as UML in its way.

DDD, p. 37

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

T/F: the model is the diagram.

A

False. The diagram is to help communicate the model.

DDD, p. 37

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Written documents should ________ the code and the talking.

A

complement the code

DDD, p. 38

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are two qualities of good code?

A

Does the right thing
Says the right thing

DDD, p. 40

How well did you know this?
1
Not at all
2
3
4
5
Perfectly