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項必修法則
結論
|
187
在非合作的情境下,版本控制甚至更實用,大部分重要的資訊都會因為儲存在存放區而
受惠。但預設情況下,我會為我要做的每一個原型專案建立一個存放區,就算它是個人
的寵物專案。我會用 Git 管理許多其他的東西,例如存放在我的電腦主目錄下的個人設
定。如此一來,只要複製那個存放區,我就可以輕鬆地將新電腦設定為我的個人風格。
問題
1.
版本控制系統具備 GUI 與指令列工具。它們的優缺點為何?瞭解兩者的使用方式重
要嗎?為什麼?
2.
離散式 VCS 會產生哪些在較簡單的集中模式上不會發生的問題?你該如何避免這些
問題?
3.
你是否使用正確的版本控制系統?你目前的系統缺乏哪些其他的 VCS 擁有的工具?
4.
使用版本控制系統是否代表你不需要備份個人開發機器?
5.
哪一種是較安全的並行工作機制:
功能切換
或並行
分支
?哪一種需要比較少的管理
與整合成本?
6.
當你要提交修改到存放區時,發現你做了兩件不同的事情。此時你應該停止提交、重
新調整,還是直接提交程式,因為你已經做完了?為什麼?不同的 VCS 工具是如何
協助處理這個情況的?
參考
y
藉由移除程式碼來改善它版本控制可讓你有自信地刪除程式。你一定可以把它從封
存拿回來。
y
請釋放我版本控制是好的釋出版本與部署管道很重要的一部分。這一篇文章更詳細
地說明釋出分支
y
凍結奇碼釋出分支是 VCS 機制,用來凍結程式碼,同時可繼續在開發機器上工作。
y
尋找路徑你的存放區歷史會包含有價值的資訊,可協助你四處巡覽,並衡量基礎程
式的品質。[Page-181] ...
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