Clean Architecture


F u n c ti o n a l Pro g r a m m i n g



Download 6,37 Mb.
Pdf ko'rish
bet22/259
Sana26.02.2022
Hajmi6,37 Mb.
#465587
1   ...   18   19   20   21   22   23   24   25   ...   259
Bog'liq
Clean Architecture A Craftsman’s Guide to Software Structure and Design by Robert C. Martin (z-lib.org)

F u n c ti o n a l Pro g r a m m i n g
The third paradigm, which has only recently begun to be adopted, was the 
first to be invented. Indeed, its invention predates computer programming 
www.EBooksWorld.ir


Food for Thought
23
itself. Functional programming is the direct result of the work of Alonzo 
Church, who in 1936 invented 
l
-calculus while pursuing the same 
mathematical problem that was motivating Alan Turing at the same time. His 
l
-calculus is the foundation of the LISP language, invented in 1958 by John 
McCarthy. A foundational notion of 
l
-calculus is immutability—that is, the 
notion that the values of symbols do not change. This effectively means that a 
functional language has no assignment statement. Most functional languages 
do, in fact, have some means to alter the value of a variable, but only under 
very strict discipline. 
We can summarize the functional programming paradigm as follows: 
Functional programming imposes discipline upon assignment.
Fo o d fo r Th o u g h t
Notice the pattern that I’ve quite deliberately set up in introducing these three 
programming paradigms: Each of the paradigms 
removes
capabilities from 
the programmer. None of them adds new capabilities. Each imposes some 
kind of extra discipline that is 
negative
in its intent. The paradigms tell us 
what 
not
to do, more than they tell us what 
to
do. 
Another way to look at this issue is to recognize that each paradigm takes 
something away from us. The three paradigms together remove 
goto
statements, 
function pointers, and assignment. Is there anything left to take away?
Probably not. Thus these three paradigms are likely to be the only three we 
will see—at least the only three that are negative. Further evidence that there 
are no more such paradigms is that they were all discovered within the ten 
years between 1958 and 1968. In the many decades that have followed, no new 
paradigms have been added.
www.EBooksWorld.ir



Download 6,37 Mb.

Do'stlaringiz bilan baham:
1   ...   18   19   20   21   22   23   24   25   ...   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