Clean Architecture


The Service Area Computer



Download 6,37 Mb.
Pdf ko'rish
bet209/259
Sana26.02.2022
Hajmi6,37 Mb.
#465587
1   ...   205   206   207   208   209   210   211   212   ...   259
Bog'liq
Clean Architecture A Craftsman’s Guide to Software Structure and Design by Robert C. Martin (z-lib.org)

The Service Area Computer
345
D i s patc h D e t e r m i n ati o n
One of the economic foundations for this system was based on the correct 
allocation of repair craftsmen. Repair craft were separated, by union rules
into three categories: central office, cable, and drop. CO craftsmen fixed 
problems inside the central office. Cable craftsmen fixed problems in the cable 
plant that connected the CO to the customer. Drop craftsmen fixed problems 
inside the customer’s premises, and in the lines connecting the external cable 
to that premises (the “drop”).
When a customer complained about a problem, our system could diagnose 
that problem and determine which kind of craftsman to dispatch. This saved 
the phone companies lots of money because incorrect dispatches meant 
delays for the customer and wasted trips for the craftsmen.
The code that made this dispatch determination was designed and written by 
someone who was very bright, but a terrible communicator. The process of 
writing the code has been described as “Three weeks of staring at the ceiling 
and two days of code pouring out of every orifice of his body—after which 
he quit.”
Nobody understood this code. Every time we tried to add a feature or fix a 
defect, we broke it in some way. And since it was upon this code that one of 
the primary economic benefits our system rested, every new defect was deeply 
embarrassing to the company.
In the end, our management simply told us to lock that code down and never 
modify it. That code became 
officially rigid
.
This experience impressed upon me the value of good, clean code.
A r c h it e c t u r e
The system was written in 1976 in M365 assembler. It was a single, 
monolithic program of roughly 60,000 lines. The operating system was a 
home-grown, nonpreemptive, task-switcher based on polling. We called it 
MPS for 
multiprocessing system. 
The M365 computer had no built-in stack, 
www.EBooksWorld.ir



Download 6,37 Mb.

Do'stlaringiz bilan baham:
1   ...   205   206   207   208   209   210   211   212   ...   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