Skip to Content
成為卓越程式設計師的38項必修法則
book

成為卓越程式設計師的38項必修法則

by Pete Goodliffe
May 2015
Intermediate to advanced
376 pages
5h 48m
Chinese
GoTop Information, Inc.
Content preview from 成為卓越程式設計師的38項必修法則
第十三章
雙系統故事
建築是研究如何浪費空間的工藝。
- Philip Johnson
軟體系統就像個城市—有一個錯綜複雜的公路網及許多旅館,還有很多小路跟建築物。
在忙碌的城市中有許多事情發生:控制流不斷地出現,編織它們的生命,然後死去。大
量的資料被累積、儲存,及銷毀。裡面有許多建築物:有的既高聳且漂亮,有的低矮且
實用,有的破舊不堪,年久失修。因為資料會在它們周圍流動,所以會有塞車、尖鋒時
刻及道路施工。你的軟體程式品質,與落實多少城市計畫有直接關係。
有一些軟體系統很幸運,它們是有經驗的建築師經過周詳的考慮設計的。它們是以優雅
與平衡的概念來建構的。它們具備很棒的地圖,易於巡覽。其他的軟體不是這麼幸運,
是從一些意外收集的程式中長出來的軟體建築。缺乏運輸設施,建築既單調且乏善可
陳。如果你在裡面,會完全無法找到出路。
你的程式住在哪裡? 你要建構哪種軟體城市? 113
在本章中,我會述說這兩種軟體城市的故事。這是真正的故事,而且如同所有好故事,
這一個故事有一個合乎道德的結尾。有人說
經驗是很好的老
師,但他人的經驗更棒,如
果你從這些專案的錯誤與成功經驗中學習,或許你會替自己(還有你的軟體)省下很多
痛苦。
這兩個系統特別有趣,因為它們非常不同,儘管表面上看起來非常類似,有類似的程式
大小、產品領域,及具有相同經驗水準的工程師。
在這個故事中,為了保護無辜的人,名字都已被更改。還有有罪的人。
120
| 第十三章:雙系統故事
凌亂大都會
建造!建造!備好道路!移除我的人民在路途上的障礙。
- Isaiah 57:14 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
Java性能优化实践:JVM调优策略、工具与技巧

Java性能优化实践:JVM调优策略、工具与技巧

Benjamin J. Evans, James Gough, Chris Newland

Publisher Resources

ISBN: 9789863475699