Clean Architecture


Chapter 4 Structured Programming



Download 6,37 Mb.
Pdf ko'rish
bet27/259
Sana26.02.2022
Hajmi6,37 Mb.
#465587
1   ...   23   24   25   26   27   28   29   30   ...   259
Bog'liq
Clean Architecture A Craftsman’s Guide to Software Structure and Design by Robert C. Martin (z-lib.org)

Chapter 4 Structured Programming
30
N o Fo r m a l Pro o fs
But the proofs never came. The Euclidean hierarchy of theorems was never 
built. And programmers at large never saw the benefits of working through 
the laborious process of formally proving each and every little function 
correct. In the end, Dijkstra’s dream faded and died. Few of today’s 
programmers believe that formal proofs are an appropriate way to produce 
high-quality software.
Of course, formal, Euclidian style, mathematical proofs are not the only 
strategy for proving something correct. Another highly successful strategy 
is the 
scientific method
.
S c i e n c e to t h e R e s c u e
Science is fundamentally different from mathematics, in that scientific 
theories and laws cannot be proven correct. I cannot prove to you that 
Newton’s second law of motion, 
F
 
=
 
ma
, or law of gravity
F
 
=
 
Gm
1
m
2
/
r
2
, are 
correct. I can demonstrate these laws to you, and I can make measurements 
that show them correct to many decimal places, but I cannot prove them in 
the sense of a mathematical proof. No matter how many experiments I 
conduct or how much empirical evidence I gather, there is always the chance 
that some experiment will show that those laws of motion and gravity are 
incorrect.
That is the nature of scientific theories and laws: They are 
falsifiable
but not 
provable.
And yet we bet our lives on these laws every day. Every time you get into a car
you bet your life that 
F
 
=
 
ma
is a reliable description of the way the world 
works. Every time you take a step, you bet your health and safety that 
F

Download 6,37 Mb.

Do'stlaringiz bilan baham:
1   ...   23   24   25   26   27   28   29   30   ...   259




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