Domain-Driven Design: Tackling Complexity in the Heart of Software



Download 7,21 Mb.
Pdf ko'rish
bet199/343
Sana17.11.2022
Hajmi7,21 Mb.
#867526
1   ...   195   196   197   198   199   200   201   202   ...   343
Bog'liq
Eric Evans 2003 - Domain-Driven Design - Tackling Complexity in the Heart of Software

Share Pies
). Others take simple amounts as arguments or return values; they
are not closed, but they add little to the conceptual load. The 
Share Pie
interacts closely
with only one other class
Share
. As a result, the 
Share Pie
is self-contained, easily
understood, easily tested, and easily combined to form declarative transactions. These
properties were inherited from the math formalism.
Familiar formalism makes the protocol easy to grasp
. A wholly original protocol for
manipulating shares could have been devised based on financial terminology. In principle, it
could have been made supple. But it would have had two disadvantages. First, it would have
to be invented, a difficult and uncertain task. Second, it would have to be learned by each


person who dealt with it. People who see Shares Math recognize a system they already know,
and because the design has been kept carefully consistent with the rules of arithmetic, those
people are not misled.
Pulling out the part of the problem that corresponded to the formalism of math, we arrived at a
supple design for 
Shares
that further distills the core 
Loan
and 
Facility
methods. (See Chapter
15 for discussion of the 
CORE DOMAIN
.)
Supple design has a profound effect on the ability of software to cope with change and complexity.
As the examples in this chapter have shown, it often hinges on quite detailed modeling and design
decisions. The impact can go beyond a specific modeling and design problem. Chapter 15 will
discuss the strategic value of supple design as one of several tools for distilling a domain model to
make large and complex projects more tractable.
[ Team LiB ]


[ Team LiB ]

Download 7,21 Mb.

Do'stlaringiz bilan baham:
1   ...   195   196   197   198   199   200   201   202   ...   343




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish