Clean Code


Pick One Word per Concept



Download 3,58 Mb.
Pdf ko'rish
bet5/384
Sana05.04.2022
Hajmi3,58 Mb.
#530298
1   2   3   4   5   6   7   8   9   ...   384
Bog'liq
Clean Code

Pick One Word per Concept
...............................................................26
Don’t Pun
.............................................................................................26
Use Solution Domain Names
..............................................................27
Use Problem Domain Names
..............................................................27
Add Meaningful Context
....................................................................27
Don’t Add Gratuitous Context
...........................................................29
Final Words
..........................................................................................30
Chapter 3: Functions
.........................................................................31
Small!
....................................................................................................34
Blocks and Indenting........................................................................35
Do One Thing
.......................................................................................35
Sections within Functions ................................................................36
One Level of Abstraction per Function
.............................................36
Reading Code from Top to Bottom: 
The Stepdown Rule
..................37
Switch Statements
...............................................................................37
Use Descriptive Names
........................................................................39
Function Arguments
............................................................................40
Common Monadic Forms.................................................................41
Flag Arguments ................................................................................41
Dyadic Functions..............................................................................42
Triads................................................................................................42
Argument Objects.............................................................................43
Argument Lists .................................................................................43
Verbs and Keywords .........................................................................43

Download 3,58 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   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