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



Download 1,78 Mb.
Pdf ko'rish
bet13/32
Sana13.01.2022
Hajmi1,78 Mb.
#355100
1   ...   9   10   11   12   13   14   15   16   ...   32
Bog'liq
Software-for-infrastructure

Practice type-rich programming

So far, I’ve focused primarily on efficiency, but ef-

ficiency is irrelevant if the code contains critical errors. 

Addressing the issue of correctness requires making prog-

ress on two fronts:

 



eliminate programming errors (make such errors less 

likely and more easily spotted), and

 



make it easier to analyze a program for design errors 



(in general, make it easier to build tools that manipu-

late programs).

The distinction between a design error and a program-

ming error isn’t completely clear. My practical definition is 

that programming errors are those that can be caught by a 

good production compiler; they involve inconsistent use of 

values and don’t require extensive computation to detect. 

Design errors involve plausible-looking code that just hap-

pens to do the wrong thing. Catching design errors requires 

tools that “understand” the semantics of higher-level op-

erations. Even a compiler can be such a tool if semantic 

0

1,250



2,500

3,750


5,000

1

2



3

4

5



Seconds

Vector


List

Preallocated list




Download 1,78 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   ...   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