Cover fe ature 47 january 2012 Published by the ieee computer Society 0018-9162/12/$31. 00 2012 ieee


Errors that manifest as exceptions



Download 1,78 Mb.
Pdf ko'rish
bet23/32
Sana13.01.2022
Hajmi1,78 Mb.
#355100
1   ...   19   20   21   22   23   24   25   26   ...   32
Bog'liq
Software-for-infrastructure

Errors that manifest as exceptions  

in a dynamically checked language 

become compile-time errors.


55

JANUARY 2012

and loops must be viewed with great suspicion. Compli-

cated control flows confuse programmers. Messy code 

often hides bugs.

Consider a real example (taken from Sean Parent): in 

many user interfaces, an item of a sequence can be moved 

to a different position in the sequence by dragging its 

screen representation over a screen representation of the 

sequence. The original solution (after cleanup and simplifi-

cation) involved 25 lines of code with one loop, three tests

and 14 function calls. Its author considered it messy and 

an attempt to simplify the code was made. The result was




Download 1,78 Mb.

Do'stlaringiz bilan baham:
1   ...   19   20   21   22   23   24   25   26   ...   32




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