Clean Code



Download 3,58 Mb.
Pdf ko'rish
bet166/384
Sana05.04.2022
Hajmi3,58 Mb.
#530298
1   ...   162   163   164   165   166   167   168   169   ...   384
Bog'liq
Clean Code

Optimize Decision Making
Modularity and separation of concerns make decentralized management and decision
making possible. In a sufficiently large system, whether it is a city or a software project, no
one person can make all the decisions.
18. Not to be confused with the good practice of up-front design, BDUF is the practice of designing 
everything
up front before 
implementing anything at all. 
19. There is still a significant amount of iterative exploration and discussion of details, even after construction starts.
20. The term 
software physics
was first used by [Kolence].


168
Chapter 11: Systems
We all know it is best to give responsibilities to the most qualified persons. We often
forget that it is also best to 
postpone decisions until the last possible moment
. This isn’t
lazy or irresponsible; it lets us make informed choices with the best possible information.
A premature decision is a decision made with suboptimal knowledge. We will have that
much less customer feedback, mental reflection on the project, and experience with our
implementation choices if we decide too soon. 
The agility provided by a POJO system with modularized concerns allows us to make opti-
mal, just-in-time decisions, based on the most recent knowledge. The complexity of these
decisions is also reduced.
Use Standards Wisely, When They Add 
Demonstrable
Value
Building construction is a marvel to watch because of the pace at which new buildings are
built (even in the dead of winter) and because of the extraordinary designs that are possi-
ble with today’s technology. Construction is a mature industry with highly optimized parts,
methods, and standards that have evolved under pressure for centuries. 
Many teams used the EJB2 architecture because it was a standard, even when lighter-
weight and more straightforward designs would have been sufficient. I have seen teams
become obsessed with various 
strongly hyped
standards and lose focus on implementing
value for their customers.
Standards make it easier to reuse ideas and components, recruit people with relevant expe-
rience, encapsulate good ideas, and wire components together. However, the process of
creating standards can sometimes take too long for industry to wait, and some standards
lose touch with the real needs of the adopters they are intended to serve.

Download 3,58 Mb.

Do'stlaringiz bilan baham:
1   ...   162   163   164   165   166   167   168   169   ...   384




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
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