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項必修法則
第廿三章
請釋放我
我聽到天使歌唱,
當一天正要開始,
“同情,憐憫,和平,
是世界的解放。”
- William Blake
我聽到天使
在你的軟體開發流程中,建立
軟體版本
是一個非常重要的步驟,不是最後一分鐘才急就
章。它需要紀律與規劃。
在建構軟體版本的時候,我經常遇到愚蠢、完全可以避免的問題,
它是由懶散的做法引起的。
它們大部分都是由馬虎的習慣造成的:在本機工作目錄中建立一
個“釋出版本”,而不是由乾淨的 check out。(提示:這不是一個
真正的軟體版本,它用你的程式的“組建”,你需要更多程序與精
力來建立一個適當的版本。)
舉些例子:
y
軟體版本是由開發人員的本地工作目錄製作的。開發人員沒有先清理程式,而且目
錄裡面含有未提交的原始檔案修改。他注意到了,但還是硬要製作“釋出版本”。
當問題被回報時,我們沒有文件記錄究竟版本裡面有
什麼
。結果是:除錯軟體變成
一場惡夢,大部分都用猜的。
212
| 第廿三章:請釋放我
y
軟體版本是由未更新的本機目錄製作的,開發人員沒有更新子版本程式存放區
HEAD。所以版本遺漏了一些功能與 bug 修復。更棒的是,開發者將存放區的
HEAD tag 為“釋出點”,聲明他已組建該版本。結果是:造成更多混淆、尷尬,讓
專案的聲譽受損。[Page-204]
y
所釋出的專案程式並未受到原始碼控制,它位於一台機器的硬碟中 ...
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