The Clean Architecture in php



Download 2,26 Mb.
Pdf ko'rish
bet20/179
Sana24.06.2021
Hajmi2,26 Mb.
#100337
1   ...   16   17   18   19   20   21   22   23   ...   179
Bog'liq
The-Clean-Architecture-in-PHP-Kristopher-Wilson

Change Breaks Everything
The biggest consequence of not being able to test the software is that change breaks everything.
You’ve probably been there before: one little minute change seems to have dire consequences.
Even worse, one small change in a specific portion of the application causes errors within a
seemingly unrelated portion of the application. These are regression bugs, which is a bug caused
after introducing new features, fixing other bugs, upgrading a library, changing configuration
settings, etc.
When discovered, these regression bugs often lead to exclamations of “We haven’t touched
that code in forever!” When they’re discovered, it’s often unknown what caused them in the
first place, due to the nature of changes usually happening in “unrelated” portions of the code.
The time elapsed before discovering them is often large, especially for obscure portions of the
application, or very specific circumstances needed to replicate the bug.
Change breaks everything, because we don’t have the proper architecture in place to gracefully
make those changes. How often have you hacked something in, and ignored those alarm bells
going off in your brain? Further, how often has that hack come around to bite you later in the
form of a regression bug?
Without good clean architecture conducive to change, and/or a comprehensive set of test suites,
change is a very risky venture for production applications. I’ve dealt with numerous systems
that the knowledgeable developer declared “stable and working” that they were utterly terrified
of changing, because, when they do, “it breaks.” Stable, huh?

Download 2,26 Mb.

Do'stlaringiz bilan baham:
1   ...   16   17   18   19   20   21   22   23   ...   179




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