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項必修法則
第三十八章
程式頌
所有糟糕的詩歌都來自真正的感受。
- Oscar Wilde
Gerald 是在一個小團隊工作的程式員。
事情是:其他的程式員寫出來的程式並不乾淨,
是一個有害的、讓人分心的、惡魔般的爛攤子,
是邪惡的工作狂留下來的垃圾。
但是 Gerald 有良心,他無法就讓它這樣。
他整晚醒著,制定計畫來修正它。
可怕的內部結構、令人困惑的變數名稱,
以及做作的控制流程,不斷讓人抓狂。
在初期,他用“童子軍規則”來打敗對手;
Bug 與肥大的軟體都臣服在他的腳下。329
那裡變得整潔、Bug 被修復,到處被重構
很快,他認為,它們將會消失(藉由工作)
但是可憐的老 Gerald 在計畫的過程,錯過一件重要的事實:
為了引人注意,所有的程式員必須簽署協定。
他那些草率的同事,只會違背約定
並且在他試著釐清問題時,繼續寫下廢話
進一步,退兩步—Gerald 用這種舞步跳舞
直到他知道,他必須採取更激進的立場
Agile 團隊很優秀,而且乾淨的程式碼是最棒的
344
| 第卅八章:程式頌
為了做到這一點:必須處理的是團隊,而不是程式
Conway 定律告訴我們軟體是怎麼追隨團隊的
Sympathetic 軟體是從運轉良好的機器誕生的。
如果齒輪卡住或是碎裂,就停止它們應該做的。
接著只有一個選項:讓他們消失,Gerald 認為。
所以團隊開始重新建構,採取這種模式: ...
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